]> git.ipfire.org Git - thirdparty/gcc.git/commit
bounds-2.c: Adjust dg-output.
authorMarek Polacek <polacek@redhat.com>
Fri, 27 Jun 2014 05:42:11 +0000 (05:42 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Fri, 27 Jun 2014 05:42:11 +0000 (05:42 +0000)
commit4443341a9e4b33ead4365160127d0a51a2452c72
tree45b575ecd51f87a142aa29d7583886fad17bc1af
parent2a55ae37b3dc1d695d8f708924ecf2a8d49fbb28
bounds-2.c: Adjust dg-output.

* c-c++-common/ubsan/bounds-2.c: Adjust dg-output.
(fn1): Remove store to out-of-bounds location.  Add memory barrier.
(fn2): Likewise.
(fn5): Likewise.
(fn6): Likewise.
(fn7): Likewise.
(fn8): Likewise.
(fn9): Likewise.
(fn11): Likewise.
* c-c++-common/ubsan/bounds-5.c (fn1): Remove store to out-of-bounds
location.  Add memory barrier.
(fn2): Likewise.
(fn3): Likewise.
(fn4): Likewise.
(fn5): Likewise.
* c-c++-common/ubsan/bounds-7.c: New test.

From-SVN: r212061
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/ubsan/bounds-2.c
gcc/testsuite/c-c++-common/ubsan/bounds-5.c
gcc/testsuite/c-c++-common/ubsan/bounds-7.c [new file with mode: 0644]