From: Martin Sebor Date: Fri, 6 Dec 2019 01:04:42 +0000 (+0000) Subject: PR testsuite/92829 - several test case failures starting with r278983 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4e22a7ea428eadf56e3e6f53423d51d08d919923;p=gcc.git PR testsuite/92829 - several test case failures starting with r278983 gcc/testsuite/ChangeLog: * gcc.dg/Warray-bounds-56.c: Rearrange code to avoid powerpc64* failures. From-SVN: r279031 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a20c7f0ee83..753aa398ac9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2019-12-05 Martin Sebor + + PR testsuite/92829 + * gcc.dg/Warray-bounds-56.c: Rearrange code to avoid powerpc64* + failures. + 2019-12-06 Jakub Jelinek PR tree-optimization/92768 diff --git a/gcc/testsuite/gcc.dg/Warray-bounds-56.c b/gcc/testsuite/gcc.dg/Warray-bounds-56.c index 3d85660fbbe..399c9b263b3 100644 --- a/gcc/testsuite/gcc.dg/Warray-bounds-56.c +++ b/gcc/testsuite/gcc.dg/Warray-bounds-56.c @@ -71,16 +71,18 @@ NOIPA void test_strcpy_flexarray (void) NOIPA void test_strcpy_malloc_flexarray (void) { size_t r_0_1 = UR (0, 1); - size_t r_1_2 = UR (1, 2); - size_t r_2_3 = UR (2, 3); T (char, S (0), r_0_1); T (char, S (1), r_0_1); // { dg-warning "\\\[-Warray-bounds" } + size_t r_1_2 = UR (1, 2); + T (char, S (0), r_1_2); T (char, S (1), r_1_2); T (char, S (2), r_1_2); // { dg-warning "\\\[-Warray-bounds" } + size_t r_2_3 = UR (2, 3); + T (char, S (0), r_2_3); T (char, S (2), r_2_3); T (char, S (3), r_2_3); // { dg-warning "\\\[-Warray-bounds" }