diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d03730861cd..eb89d6b6468 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-09-17 Diego Novillo + + * gcc.c-torture/execute/pr17252.c: Use post-increment to + change what 'a' is pointing to. + 2004-09-17 Mark Mitchell PR c++/16002 diff --git a/gcc/testsuite/gcc.c-torture/execute/pr17252.c b/gcc/testsuite/gcc.c-torture/execute/pr17252.c index ebc3c865521..bd1b6b99e98 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