From: Diego Novillo Date: Fri, 17 Sep 2004 12:22:19 +0000 (+0000) Subject: pr17252.c: Use post-increment to change what 'a' is pointing to. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=47bb500f218a0fcf78a9475cb724d1e72c48947d;p=gcc.git pr17252.c: Use post-increment to change what 'a' is pointing to. * gcc.c-torture/execute/pr17252.c: Use post-increment to change what 'a' is pointing to. From-SVN: r87642 --- 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