diff options
author | Martin Sebor <msebor@redhat.com> | 2017-12-22 00:07:39 +0000 |
---|---|---|
committer | Martin Sebor <msebor@gcc.gnu.org> | 2017-12-21 17:07:39 -0700 |
commit | b635aba5f48b9e64f12e7ce34f2c50aa568b70de (patch) | |
tree | f0d0e541a2f9df79fe22ae3264d8eb078d054729 /gcc | |
parent | 604aac48157176b932b5a8772db4d4919199c300 (diff) | |
download | gcc-b635aba5f48b9e64f12e7ce34f2c50aa568b70de.zip gcc-b635aba5f48b9e64f12e7ce34f2c50aa568b70de.tar.gz gcc-b635aba5f48b9e64f12e7ce34f2c50aa568b70de.tar.bz2 |
PR testsuite/83462 - c-c++-common/Warray-bounds-3.c fails
gcc/testsuite/ChangeLog
* c-c++-common/Warray-bounds-3.c: Adjust dg-warning grep pattern.
From-SVN: r255962
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/c-c++-common/Warray-bounds-3.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index df630ad..79ee49c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-12-21 Martin Sebor <msebor@redhat.com> + + PR testsuite/83462 + * c-c++-common/Warray-bounds-3.c: Adjust dg-warning grep pattern. + 2017-12-21 Jakub Jelinek <jakub@redhat.com> PR middle-end/83487 diff --git a/gcc/testsuite/c-c++-common/Warray-bounds-3.c b/gcc/testsuite/c-c++-common/Warray-bounds-3.c index 73103f4..30e5cfe 100644 --- a/gcc/testsuite/c-c++-common/Warray-bounds-3.c +++ b/gcc/testsuite/c-c++-common/Warray-bounds-3.c @@ -359,7 +359,7 @@ void test_strcpy_bounds_memarray_range (void) TM (a5, "0", ma.a5 + i, ma.a5); TM (a5, "01", ma.a5 + i, ma.a5); TM (a5, "012", ma.a5 + i, ma.a5); - TM (a5, "0123", ma.a5 + i, ma.a5); /* { dg-warning "offset 10 from the object at .ma. is out of the bounds of referenced subobject .\(MA::\)?a5. with type .char\\\[5]. at offset 4" "strcpy" { xfail *-*-* } } */ + TM (a5, "0123", ma.a5 + i, ma.a5); /* { dg-warning "offset 10 from the object at .ma. is out of the bounds of referenced subobject .\(MA::\)?a5. with type .char ?\\\[5]. at offset 4" "strcpy" { xfail *-*-* } } */ TM (a11, "0", ma.a5, ma.a11); TM (a11, "01", ma.a5, ma.a11); |