aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2018-01-16 22:38:49 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2018-01-16 22:38:49 +0000
commit6702f18b27cb032588a8086046d0e1b65d7b534c (patch)
tree09dacbefb2edd36048087ce18f436cbb7c6362ea /gcc
parent3dce35b32e8e516a3956137ff1229983845088af (diff)
downloadgcc-6702f18b27cb032588a8086046d0e1b65d7b534c.zip
gcc-6702f18b27cb032588a8086046d0e1b65d7b534c.tar.gz
gcc-6702f18b27cb032588a8086046d0e1b65d7b534c.tar.bz2
Warray-bounds-4.c (test_strcpy_bounds_memarray_range): XFAIL last test on SPARC and Visium.
* c-c++-common/Warray-bounds-4.c (test_strcpy_bounds_memarray_range): XFAIL last test on SPARC and Visium. From-SVN: r256763
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/c-c++-common/Warray-bounds-4.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index c39a9fb..cead046 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2018-01-16 Eric Botcazou <ebotcazou@adacore.com>
+
+ * c-c++-common/Warray-bounds-4.c (test_strcpy_bounds_memarray_range):
+ XFAIL last test on SPARC and Visium.
+
2018-01-16 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/80481
diff --git a/gcc/testsuite/c-c++-common/Warray-bounds-4.c b/gcc/testsuite/c-c++-common/Warray-bounds-4.c
index 57b9ffa..9c434eb 100644
--- a/gcc/testsuite/c-c++-common/Warray-bounds-4.c
+++ b/gcc/testsuite/c-c++-common/Warray-bounds-4.c
@@ -64,5 +64,5 @@ void test_strcpy_bounds_memarray_range (void)
TM ("01", "", ma.a5 + i, ma.a5);
TM ("012", "", ma.a5 + i, ma.a5);
TM ("0123", "", ma.a5 + i, ma.a5); /* { dg-warning "offset 6 from the object at .ma. is out of the bounds of referenced subobject .a5. with type .char\\\[5]. at offset 0" "strcpy" { xfail *-*-* } } */
- TM ("", "012345", ma.a7 + i, ma.a7); /* { dg-warning "offset 13 from the object at .ma. is out of the bounds of referenced subobject .\(MA::\)?a7. with type .char ?\\\[7]. at offset 5" } */
+ TM ("", "012345", ma.a7 + i, ma.a7); /* { dg-warning "offset 13 from the object at .ma. is out of the bounds of referenced subobject .\(MA::\)?a7. with type .char ?\\\[7]. at offset 5" "strcpy" { xfail sparc*-*-* visium-*-* } } */
}