OSDN Git Service

2010-04-01 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Apr 2010 16:18:07 +0000 (16:18 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 00:42:20 +0000 (09:42 +0900)
commit5cc3e25720fd3dd8ba0de2770ef26081972a62e0
tree26382f9421c434f1eb81134e15e06d4c5b9d968c
parentc6b10751d3d9eb032c808f4eecaf907e98cbd662
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 (build6_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.

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