diff options
author | Diego Novillo <dnovillo@redhat.com> | 2004-09-17 12:22:19 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@gcc.gnu.org> | 2004-09-17 08:22:19 -0400 |
commit | 47bb500f218a0fcf78a9475cb724d1e72c48947d (patch) | |
tree | bc40d85b5425f3c32671b8c59756a8f2f3216182 | |
parent | 788bb47dc45c4b7d6059dc963c146623a9f1bf97 (diff) | |
download | gcc-47bb500f218a0fcf78a9475cb724d1e72c48947d.zip gcc-47bb500f218a0fcf78a9475cb724d1e72c48947d.tar.gz gcc-47bb500f218a0fcf78a9475cb724d1e72c48947d.tar.bz2 |
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
-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 |