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
This commit is contained in:
Diego Novillo 2004-09-17 12:22:19 +00:00 committed by Diego Novillo
parent 788bb47dc4
commit 47bb500f21
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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