From 260722d46dee232fef8a6b28ac67a85504fef339 Mon Sep 17 00:00:00 2001 From: rguenth Date: Thu, 1 Apr 2010 16:18:07 +0000 Subject: [PATCH] 2010-04-01 Richard Guenther 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 | 11 +++++++++++ gcc/testsuite/ChangeLog | 5 +++++ 2 files changed, 16 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 114dd30c5d6..f319d5f4b90 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,16 @@ 2010-04-01 Richard Guenther + 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. + +2010-04-01 Richard Guenther + PR tree-optimization/43607 * ipa-type-escape.c (check_call): Do not access non-existing arguments. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4530eddffe9..b5aeaf5a483 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-04-01 Richard Guenther + + PR middle-end/43614 + * gcc.c-torture/compile/pr43614.c: New testcase. + 2010-04-01 Martin Jambor PR tree-optimization/43141 -- 2.11.0