Commit 4e22a7ea by Martin Sebor Committed by Martin Sebor

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
parent c86b722b
2019-12-05 Martin Sebor <msebor@redhat.com>
PR testsuite/92829
* gcc.dg/Warray-bounds-56.c: Rearrange code to avoid powerpc64*
failures.
2019-12-06 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/92768
......
......@@ -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" }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment