diff options
author | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2020-03-14 09:22:28 +0100 |
---|---|---|
committer | David Monniaux <david.monniaux@univ-grenoble-alpes.fr> | 2020-03-14 09:22:28 +0100 |
commit | 5e045a7b8c6b834dfec782ecdadae3145a16212e (patch) | |
tree | c09bbb5cd107eac4859e7bcc15cbc33adae6dd9f /test/monniaux/cse2 | |
parent | bbe0809b3cd483ce5fc82e4f2d0a106823c54f26 (diff) | |
download | compcert-kvx-5e045a7b8c6b834dfec782ecdadae3145a16212e.tar.gz compcert-kvx-5e045a7b8c6b834dfec782ecdadae3145a16212e.zip |
test for CSE3 alias analysis
Diffstat (limited to 'test/monniaux/cse2')
-rw-r--r-- | test/monniaux/cse2/storeload.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/monniaux/cse2/storeload.c b/test/monniaux/cse2/storeload.c index 3fa5b226..028fb835 100644 --- a/test/monniaux/cse2/storeload.c +++ b/test/monniaux/cse2/storeload.c @@ -1,4 +1,5 @@ int toto(int *p, int x) { - *p = x; + p[0] = x; + p[1] = 3; return *p; } |