* tree-ssa-operands.c (add_virtual_operand): Only mark
stores as has_volatile_ops if alias information is not available.
* gcc.c-torture/compile/
20070906-1.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128300
138bc75d-0d04-0410-961f-
82ee72b054a4
+2007-09-09 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-09 Revital Eres <eres@il.ibm.com>
* doc/contrib.texi: Add myself.
+2007-09-09 Richard Guenther <rguenther@suse.de>
+
+ * gcc.c-torture/compile/20070906-1.c: New testcase.
+
2007-09-09 Ira Rosen <irar@il.ibm.com>
* gcc.dg/vect/costmodel/ppc/costmodel-vect-outer-fir.c: Add
--- /dev/null
+struct Bar {
+ int i[8];
+};
+struct Bar foo(struct Bar **p)
+{
+ return foo((struct Bar**)*p);
+}
+
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. */