From 47bb500f218a0fcf78a9475cb724d1e72c48947d Mon Sep 17 00:00:00 2001 From: Diego Novillo Date: Fri, 17 Sep 2004 12:22:19 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.c-torture/execute/pr17252.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.30.2