r158117 - in /branches/gcc-4_4-branch/gcc: Chan...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Thu Apr 8 11:28:00 GMT 2010


Author: jakub
Date: Thu Apr  8 11:28:06 2010
New Revision: 158117

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158117
Log:
	Backport from mainline:
	2010-04-01  Richard Guenther  <rguenther@suse.de>

	PR middle-end/43614
	* tree-ssa-address.c (copy_mem_ref_info): Copy TREE_SIDE_EFFECTS
	and TREE_THIS_VOLATILE.
	(copy_ref_info): Likewise.
	* tree-ssa-operands.c (get_tmr_operands): Check TREE_THIS_VOLATILE.
	* tree.c (build7_stat): Ignore side-effects of all but arg5
	for TARGET_MEM_REF.  Set TREE_THIS_VOLATILE from arg5 of
	TARGET_MEM_REF.

	* gcc.c-torture/compile/pr43614.c: New testcase.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr43614.c
Modified:
    branches/gcc-4_4-branch/gcc/ChangeLog
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_4-branch/gcc/tree-ssa-address.c
    branches/gcc-4_4-branch/gcc/tree-ssa-loop-ivopts.c
    branches/gcc-4_4-branch/gcc/tree-ssa-operands.c
    branches/gcc-4_4-branch/gcc/tree.c



More information about the Gcc-cvs mailing list