Remove duplicate (and incorrect) entry for r197284.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198805 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/i386/i386.md (*zero_extendsidi2): Add *x->?r alternative.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198806 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/epiphany/epiphany.c (epiphany_init): Check size of
	NUM_MODES_FOR_MODE_SWITCHING.
	(epiphany_expand_prologue):
	Remove CONFIG_REGNUM initial value handling code.
	(epiphany_optimize_mode_switching): Handle EPIPHANY_MSW_ENTITY_CONFIG.
	(epiphany_mode_needed, epiphany_mode_entry_exit): Likewise.
	(emit_set_fp_mode): Likewise.
	(epiphany_mode_needed) <Handle EPIPHANY_MSW_ENTITY_AND>:
	Don't return 1 for FP_MODE_NONE.
	* config/epiphany/epiphany.h (NUM_MODES_FOR_MODE_SWITCHING):
	Add value for EPIPHANY_MSW_ENTITY_CONFIG.
	(EPIPHANY_MSW_ENTITY_CONFIG, EPIPHANY_MSW_ENTITY_NUM): Define.
	* config/epiphany/epiphany.md (save_config): New pattern.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198807 138bc75d-0d04-0410-961f-82ee72b054a4
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198810 138bc75d-0d04-0410-961f-82ee72b054a4
Fix EH handling issue in last change:
        * config/epiphany/epiphany.c (epiphany_init): Check size of
        NUM_MODES_FOR_MODE_SWITCHING.
        (epiphany_expand_prologue):
        Remove CONFIG_REGNUM initial value handling code.
        (epiphany_optimize_mode_switching): Handle EPIPHANY_MSW_ENTITY_CONFIG.
        (epiphany_mode_needed, epiphany_mode_entry_exit): Likewise.
        (emit_set_fp_mode, epiphany_mode_after): Likewise.
        (epiphany_mode_needed) <Handle EPIPHANY_MSW_ENTITY_AND>:
        Don't return 1 for FP_MODE_NONE.
        * config/epiphany/epiphany.h (NUM_MODES_FOR_MODE_SWITCHING):
        Add value for EPIPHANY_MSW_ENTITY_CONFIG.
        (EPIPHANY_MSW_ENTITY_CONFIG, EPIPHANY_MSW_ENTITY_NUM): Define.
        * config/epiphany/epiphany.md (save_config): New pattern.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198811 138bc75d-0d04-0410-961f-82ee72b054a4
	PR tree-optimization/57230
	* tree-ssa-strlen.c (handle_char_store): Add missing integer_zerop
	check.

	* gcc.dg/strlenopt-23.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198813 138bc75d-0d04-0410-961f-82ee72b054a4
	PR tree-optimization/57230
	* tree-ssa-strlen.c (handle_char_store): Record length for
	array store from STRING_CST.

	* gcc.dg/strlenopt-24.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198815 138bc75d-0d04-0410-961f-82ee72b054a4
2013-05-13  Marc Glisse  <marc.glisse@inria.fr>

gcc/
	* tree-vect-generic.c (uniform_vector_p): Move ...
	* tree.c (uniform_vector_p): ... here.
	* tree.h (uniform_vector_p): Declare it.
	* fold-const.c (fold_binary_loc) <shift>: Turn the second argument
	into a scalar.

gcc/testsuite/
	* gcc.dg/vector-shift-2.c: New testcase.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198819 138bc75d-0d04-0410-961f-82ee72b054a4
AMD specific default alignment changes

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198820 138bc75d-0d04-0410-961f-82ee72b054a4
2013-05-13  Martin Jambor  <mjambor@suse.cz>

	PR middle-end/42371
	* ipa-prop.h (IPA_UNDESCRIBED_USE): New macro.
	(ipa_constant_data): New type.
	(ipa_jump_func): Use ipa_constant_data to hold information about
	constant jump functions.
	(ipa_get_jf_constant): Adjust to jump function type changes.
	(ipa_get_jf_constant_rdesc): New function.
	(ipa_param_descriptor): New field controlled_uses.
	(ipa_get_controlled_uses): New function.
	(ipa_set_controlled_uses): Likewise.
	* ipa-ref.h (ipa_find_reference): Declare.
	* ipa-prop.c (ipa_cst_ref_desc): New type.
	(ipa_print_node_jump_functions_for_edge): Adjust for jump function type
	changes.
	(ipa_set_jf_constant): Likewise.  Also create reference descriptions.
	New parameter cs.  Adjust all callers.
	(ipa_analyze_params_uses): Detect uncontrolled and controlled uses.
	(remove_described_reference): New function.
	(jfunc_rdesc_usable): Likewise.
	(try_make_edge_direct_simple_call): Decrement controlled use count,
	attempt to remove reference if it hits zero.
	(combine_controlled_uses_counters): New function.
	(propagate_controlled_uses): Likewise.
	(ipa_propagate_indirect_call_infos): Call propagate_controlled_uses.
	(ipa_edge_duplication_hook): Duplicate reference descriptions.
	(ipa_print_node_params): Print described use counter.
	(ipa_write_jump_function): Adjust to jump function type changes.
	(ipa_read_jump_function): New parameter CS, pass it to
	ipa_set_jf_constant.  Adjust caller.
	(ipa_write_node_info): Stream controlled use count
	(ipa_read_node_info): Likewise.
	* cgraph.c (cgraph_mark_address_taken_node): Bail out instead of
	asserting.
	* ipa-cp.c (ipcp_discover_new_direct_edges): Decrement controlled use
	count.  Remove cloning-added reference if it reaches zero.
	* ipa-ref.c (ipa_find_reference): New function.

testsuite/
	* gcc.dg/ipa/remref-0.c: New test.
	* gcc.dg/ipa/remref-1a.c: Likewise.
	* gcc.dg/ipa/remref-1b.c: Likewise.
	* gcc.dg/ipa/remref-2a.c: Likewise.
	* gcc.dg/ipa/remref-2b.c: Likewise.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198821 138bc75d-0d04-0410-961f-82ee72b054a4
	PR tree-optimization/45216
	PR tree-optimization/57157
	* tree-ssa-forwprop.c (simplify_rotate): Only recognize
	the (-Y) & (B - 1) variant if OP is |.
	* expmed.c (expand_shift_1): For rotations by const0_rtx just
	return shifted.  Use (-op1) & (prec - 1) as other_amount
	instead of prec - op1.

	* c-c++-common/rotate-1.c: Add 32 tests with +.
	* c-c++-common/rotate-1a.c: Adjust.
	* c-c++-common/rotate-2.c: Add 32 tests with +, expect
	only 48 rotates.
	* c-c++-common/rotate-2b.c: New test.
	* c-c++-common/rotate-3.c: Add 32 tests with +.
	* c-c++-common/rotate-4.c: Add 32 tests with +, expect
	only 48 rotates.
	* c-c++-common/rotate-4b.c: New test.
	* c-c++-common/rotate-5.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198823 138bc75d-0d04-0410-961f-82ee72b054a4
Restore Solaris/amd64 Ada bootstrap (PR ada/57188)

	PR ada/57188
	* gcc-interface/Makefile.in: Allow for amd64 solaris2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198824 138bc75d-0d04-0410-961f-82ee72b054a4
	* mode-switching.c (optimize_mode_switching): Set correct RTL profile.
	* config/i386/i386.c (ix86_compute_frame_layout,
	ix86_expand_epilogue, emit_i387_cw_initialization, ix86_expand_vector_move_misalign,
	ix86_fp_comparison_strategy, ix86_local_alignment): Fix use of size/speed predicates.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198825 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/aarch64/aarch64-simd.md (aarch64_simd_mov<mode>): Group
	similar switch cases.
	(aarch64_simd_mov): Rename to aarch64_split_simd_mov. Update.
	(aarch64_simd_mov_to_<mode>low): Delete.
	(aarch64_simd_mov_to_<mode>high): Delete.
	(move_lo_quad_<mode>): Add w<-r alternative.
	(aarch64_simd_move_hi_quad_<mode>): Likewise.
    (aarch64_simd_mov_from_*): Update type attribute.
	* config/aarch64/aarch64.c (aarch64_split_simd_move): Refacror switch
	statement.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198831 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite 

2013-05-13  Greta Yorsh  <Greta.Yorsh@arm.com>

	* gcc.dg/tree-ssa/forwprop-26.c: Add -fno-short-enums
	to dg-options.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198832 138bc75d-0d04-0410-961f-82ee72b054a4
	* gcc.dg/vector-shift-2.c: Add -O to dg-options.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198836 138bc75d-0d04-0410-961f-82ee72b054a4
	PR target/57264
	* gcc.target/i386/pr57264.c: New test.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198839 138bc75d-0d04-0410-961f-82ee72b054a4
	* compare_tests: Limit lines to 2000 characters as comm on Mac OS
	X 10.8.3 doesn't like long lines (those 2055 characters or more).


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198840 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/57252
	* decl.c (decls_match): Compare ref-qualifiers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198841 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/57253
	* decl.c (grokdeclarator): Apply ref-qualifier
	in the TYPENAME case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198842 138bc75d-0d04-0410-961f-82ee72b054a4