diff options
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/torture/ssa-pta-fn-1.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8a597ea..5955370 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,9 @@ 2009-07-08 Richard Guenther <rguenther@suse.de> + * gcc.dg/torture/ssa-pta-fn-1.c: Fix invalid testcase again. + +2009-07-08 Richard Guenther <rguenther@suse.de> + * gcc.dg/torture/ssa-pta-fn-1.c: Fix invalid testcase. 2009-07-08 Paul Thomas <pault@gcc.gnu.org> diff --git a/gcc/testsuite/gcc.dg/torture/ssa-pta-fn-1.c b/gcc/testsuite/gcc.dg/torture/ssa-pta-fn-1.c index a93372d..80785f0 100644 --- a/gcc/testsuite/gcc.dg/torture/ssa-pta-fn-1.c +++ b/gcc/testsuite/gcc.dg/torture/ssa-pta-fn-1.c @@ -4,13 +4,13 @@ extern void abort (void); int *glob; -volatile int dummy; +int dummy; int * __attribute__((noinline,const)) foo_const(int *p) { return p; } int * __attribute__((noinline,pure)) -foo_pure(int *p) { dummy; return p; } +foo_pure(int *p) { return p + dummy; } int * __attribute__((noinline)) foo_normal(int *p) { glob = p; return p; } |