From: Eric Botcazou Date: Tue, 16 Jan 2018 22:38:49 +0000 (+0000) Subject: Warray-bounds-4.c (test_strcpy_bounds_memarray_range): XFAIL last test on SPARC and... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6702f18b27cb032588a8086046d0e1b65d7b534c;p=gcc.git 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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c39a9fbbb63..cead046389a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2018-01-16 Eric Botcazou + + * c-c++-common/Warray-bounds-4.c (test_strcpy_bounds_memarray_range): + XFAIL last test on SPARC and Visium. + 2018-01-16 Vladimir Makarov 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 57b9ffa00ce..9c434eb5cd2 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-*-* } } */ }