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:
parent
788bb47dc4
commit
47bb500f21
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user