------- Comment #7 from jakub at gcc dot gnu dot org 2010-04-08 11:28 ------- Subject: Bug 43614
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 <rguent...@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 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43614