aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Biener <rguenth@gcc.gnu.org>2007-09-04 15:29:15 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2007-09-04 15:29:15 +0000
commit16ae1645b19b0610567841aa48e3440b3806199e (patch)
tree420dfd35f0a0d8ca5819364904ed46588d548c80 /gcc
parent817a54f1cd26996609437a3e7e18942e32b97e65 (diff)
downloadgcc-16ae1645b19b0610567841aa48e3440b3806199e.zip
gcc-16ae1645b19b0610567841aa48e3440b3806199e.tar.gz
gcc-16ae1645b19b0610567841aa48e3440b3806199e.tar.bz2
tree-ssa-operands.c (add_virtual_operand): Only mark stores as has_volatile_ops if alias information is not available.
2007-09-04 Richard Guenther <rguenther@suse.de> * tree-ssa-operands.c (add_virtual_operand): Only mark stores as has_volatile_ops if alias information is not available. From-SVN: r128089
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/tree-ssa-operands.c3
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8cd8080..3ade7f8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,8 +1,13 @@
-2007-08-29 Andrew Haley <aph@redhat.com>
+2007-09-04 Richard Guenther <rguenther@suse.de>
+
+ * tree-ssa-operands.c (add_virtual_operand): Only mark
+ stores as has_volatile_ops if alias information is not available.
+
+2007-09-04 Andrew Haley <aph@redhat.com>
* config/arm/libgcc-bpabi.ver: Add _Unwind_Backtrace as GCC_4.3.0.
-2007-08-08 Andrew Haley <aph@redhat.com>
+2007-09-04 Andrew Haley <aph@redhat.com>
* config/arm/libunwind.S (UNWIND_WRAPPER _Unwind_Backtrace): New.
* config/arm/unwind-arm.h (__gnu_Unwind_Backtrace): New.
diff --git a/gcc/tree-ssa-operands.c b/gcc/tree-ssa-operands.c
index 4996e09..b01dd99 100644
--- a/gcc/tree-ssa-operands.c
+++ b/gcc/tree-ssa-operands.c
@@ -1494,7 +1494,8 @@ add_virtual_operand (tree var, stmt_ann_t s_ann, int flags,
if (aliases == NULL)
{
- if (!gimple_aliases_computed_p (cfun))
+ if (!gimple_aliases_computed_p (cfun)
+ && (flags & opf_def))
s_ann->has_volatile_ops = true;
/* The variable is not aliased or it is an alias tag. */