diff options
| -rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/testsuite/gcc.c-torture/execute/pr17252.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d037308..eb89d6b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-09-17 Diego Novillo <dnovillo@redhat.com> + + * gcc.c-torture/execute/pr17252.c: Use post-increment to + change what 'a' is pointing to. + 2004-09-17 Mark Mitchell <mark@codesourcery.com> PR c++/16002 diff --git a/gcc/testsuite/gcc.c-torture/execute/pr17252.c b/gcc/testsuite/gcc.c-torture/execute/pr17252.c index ebc3c86..bd1b6b9 100644 --- a/gcc/testsuite/gcc.c-torture/execute/pr17252.c +++ b/gcc/testsuite/gcc.c-torture/execute/pr17252.c @@ -9,7 +9,7 @@ main () a = (char *)&a; /* Change what 'a' is pointing to. */ - a[0] = 0; + a[0]++; /* If a's memory tag does not contain 'a' in its alias set, we will think that this predicate is superfluous and change it to |
