2013-05-23  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/57380
	* tree-ssa-phiprop.c (propagate_with_phi): Do not require at
	least one invariant or re-used load.
	* passes.c (init_optimization_passes): Move pass_phiprop before
	pass_forwprop.

	* g++.dg/tree-ssa/pr57380.C: New testcase.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199246 138bc75d-0d04-0410-961f-82ee72b054a4
        * inclhack.def (complier_h_tradcpp): New.
        * fixincl.x: Rebuilt.
        * tests/base/linux/compiler.h: New.



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

	PR middle-end/57347
	* tree.h (contains_bitfld_component_ref_p): Declare.
	* tree-sra.c (contains_bitfld_comp_ref_p): Move...
	* tree.c (contains_bitfld_component_ref_p): ...here.  Adjust its caller.
	* ipa-prop.c (determine_known_aggregate_parts): Check that LHS does
	not access a bit-field.  Assert all final offsets are byte-aligned.

testsuite/
	* gcc.dg/ipa/pr57347.c: New test.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199252 138bc75d-0d04-0410-961f-82ee72b054a4
[AArch64] Support for CLZ

2013-05-23  Vidya Praveen <vidyapraveen@arm.com>

        * config/aarch64/aarch64-simd.md (clzv4si2): Support for CLZ
          instruction (AdvSIMD).
        * config/aarch64/aarch64-builtins.c
          (aarch64_builtin_vectorized_function): Handler for BUILT_IN_CLZ.
        * config/aarch64/aarch-simd-builtins.def: Entry for CLZ.



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



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199256 138bc75d-0d04-0410-961f-82ee72b054a4
2013-05-23  Matthias Klose  <doko@ubuntu.com>

        * include/Makefile.am (bits_headers): Remove ${bits_host_headers}.
        (ext_headers): Remove ${ext_host_headers}.
        (stamp-${host_alias}): Create ${host_builddir}/../ext.
        (stamp-host): Link ${bits_host_headers} and ${ext_host_headers}.
        (install-headers): Install ${bits_host_headers} and ${ext_host_headers}.
        * include/Makefile.in: Regenerate.
        * include/ext/random: Include ext/opt_random.h.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199257 138bc75d-0d04-0410-961f-82ee72b054a4
[AArch64] Refactor aarch64_mov_operand predicate.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199259 138bc75d-0d04-0410-961f-82ee72b054a4
[AArch64] Remove Usa constraint.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199260 138bc75d-0d04-0410-961f-82ee72b054a4
2013-05-23  Christian Bruel  <christian.bruel@st.com>

        PR debug/57351
        * config/arm/arm.c (arm_dwarf_register_span): Do not use dbx number.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199261 138bc75d-0d04-0410-961f-82ee72b054a4
	PR target/57379
	* config/alpha/alpha.md (unspec): Add UNSPEC_XFLT_COMPARE.
	* config/alpha/alpha.c (alpha_emit_xfloating_compare): Construct
	REG_EQUAL note as UNSPEC_XFLT_COMPARE unspec.



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

        * config/i386/i386.c (ix86_seh_fixup_eh_fallthru): New.
        (ix86_reorg): Call it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199264 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/57388
	* tree.c (build_ref_qualified_type): Clear
	FUNCTION_RVALUE_QUALIFIED for lvalue ref-qualifier.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199269 138bc75d-0d04-0410-961f-82ee72b054a4
	* c-typeck.c (convert_for_assignment): Handle references to memory
	spaces better.


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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199273 138bc75d-0d04-0410-961f-82ee72b054a4
	PR rtl-optimization/55177
	* simplify-rtx.c (simplify_unary_operation_1) <NOT>: Deal with BSWAP.
	(simplify_byte_swapping_operation): New.
	(simplify_binary_operation_1): Call it for AND, IOR and XOR.
	(simplify_relational_operation_1): Deal with BSWAP.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199278 138bc75d-0d04-0410-961f-82ee72b054a4
	* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Constify
	a handful of local variables.
	For a derived untagged type that renames discriminants, change the type
	of the stored discriminants to a subtype with the bounds of the type
	of the visible discriminants.
	(build_subst_list): Rename local variable.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199279 138bc75d-0d04-0410-961f-82ee72b054a4
	* gcc-interface/trans.c: Include diagnostic.h and opts.h.
	(Pragma_to_gnu) <Pragma_Warnings>: New case.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199280 138bc75d-0d04-0410-961f-82ee72b054a4
	* gcc-interface/ada-tree.h (LOOP_STMT_NO_UNROLL): New define.
	(LOOP_STMT_UNROLL): Likewise.
	(LOOP_STMT_NO_VECTOR): Likewise.
	(LOOP_STMT_VECTOR): Likewise.
	* gcc-interface/trans.c (struct loop_info_d): Replace label field
	with stmt field.
	(Pragma_to_gnu) <Pragma_Loop_Optimize>: New case.
	(Loop_Statement_to_gnu): Save the loop statement onto the stack
	instead of the label.
	(gnat_to_gnu) <N_Exit_Statement>: Retrieve the loop label.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199281 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
        PR tree-ssa/57385
        * tree-ssa-sccvn.c (fully_constant_vn_reference_p): Check
        that index is not negative.

gcc/testsuite/ChangeLog
        PR tree-ssa/57385
        * gcc.dg/tree-ssa/pr57385.c: New test.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199282 138bc75d-0d04-0410-961f-82ee72b054a4
	PR tree-ssa/57385
	* gcc.dg/tree-ssa/pr57385.c: New test.



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