2013-02-25  Richard Biener  <rguenther@suse.de>

	PR tree-optimization/56175
	* tree-ssa-forwprop.c (hoist_conversion_for_bitop_p): New predicate,
	split out from ...
	(simplify_bitwise_binary): ... here.  Also guard the conversion
	of (type) X op CST to (type) (X op ((type-x) CST)) with it.

	* gcc.dg/tree-ssa/forwprop-24.c: New testcase.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196263 138bc75d-0d04-0410-961f-82ee72b054a4
Add -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/asan/

	* bootstrap-asan.mk (POSTSTAGE1_LDFLAGS): Add
	-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/asan/.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196264 138bc75d-0d04-0410-961f-82ee72b054a4
	* gcc-interface/ada-tree.h: Back out change accidentally committed.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196268 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/
2013-02-25  Matt Turner  <mattst88@gmail.com>

	* doc/invoke.texi: Document r4700.


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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196273 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/56438
	* semantics.c (potential_constant_expression_1): In C++98, a cast
	to non-integral type can't be a constant expression.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196274 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/56377
	* pt.c (fn_type_unification): Wait to call push_tinst_level until
	we know what args we're looking at.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196275 138bc75d-0d04-0410-961f-82ee72b054a4
	* configure.ac: Check for __cxa_thread_atexit_impl.
	* libsupc++/atexit_thread.cc (__cxa_thread_atexit): Just forward
	to it if available.
	* config.h.in, configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196276 138bc75d-0d04-0410-961f-82ee72b054a4
	PR tree-optimization/56443
	* tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): For
	overaligned types, pass TYPE_UNSIGNED (scalar_type) as second argument
	to type_for_mode langhook.

	* gcc.dg/torture/pr56443.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196277 138bc75d-0d04-0410-961f-82ee72b054a4
	PR tree-optimization/56448
	* fold-const.c (operand_equal_p) <case tcc_reference>: Don't look at
	TREE_SIDE_EFFECTS if flags contain OEP_CONSTANT_ADDRESS_OF.
	Clear OEP_CONSTANT_ADDRESS_OF from flags before recursing on second or
	later operands of the references, or even first operand for
	INDIRECT_REF, TARGET_MEM_REF or MEM_REF.

	* gcc.c-torture/compile/pr56448.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196278 138bc75d-0d04-0410-961f-82ee72b054a4
2013-02-26  Richard Biener  <rguenther@suse.de>

	PR target/56444
	* config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc): Remove
	unused variable loops.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196280 138bc75d-0d04-0410-961f-82ee72b054a4
2013-02-26  Marek Polacek  <polacek@redhat.com>

        PR tree-optimization/56426
        * tree-ssa-loop.c (tree_ssa_loop_init): Always call
        scev_initialize.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196281 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/56419
	* semantics.c (begin_transaction_stmt): Set TREE_SIDE_EFFECTS.
	(build_transaction_expr): Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196282 138bc75d-0d04-0410-961f-82ee72b054a4
2013-02-26  David Binderman  <dcb314@hotmail.com>

	PR c++/55632
	* decl.c (grokdeclarator): Tidy publicp assignment.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196284 138bc75d-0d04-0410-961f-82ee72b054a4
        PR target/48901
        * config/lm32/lm32.c (gen_int_relational): Remove unused variables
        temp, cond and label.
        * config/lm32/lm32.md (ashlsi3): Remove unused variable one.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196285 138bc75d-0d04-0410-961f-82ee72b054a4
        PR target/52500
        * config/c6x/c6x.c (dbx_register_map): Change to unsigned.
        * config/c6x/c6x.h (dbx_register_map): Update declaration.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196286 138bc75d-0d04-0410-961f-82ee72b054a4
        PR target/52501
        * config/cr16/cr16-protos.h: Move end of RTX_CODE guard below end
        of prologue/epilogue functions.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196287 138bc75d-0d04-0410-961f-82ee72b054a4
        PR target/52550
        * config/tilegx/tilegx.c (tilegx_expand_prologue):
        Remove unused variable cfa_offset.
        * config/tilepro/tilepro.c (tilepro_expand_prologue): Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196288 138bc75d-0d04-0410-961f-82ee72b054a4
        PR target/54639
        * config/mn10300/mn10300.c (mn10300_expand_epilogue): Avoid offset
        type promotion to unsigned.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@196289 138bc75d-0d04-0410-961f-82ee72b054a4
        PR target/54640
        * config/arm/arm.c (const_ok_for_dimode_op): Make code consistent
        for HOST_WIDE_INT of 32 bit / same size as int.
        (arm_block_move_unaligned_straight): Likewise.
        (arm_adjust_block_mem): Likewise.


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