]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: Fix overflow in gcc.dg/vect/pr116125.c
authorSiddhesh Poyarekar <siddhesh@gotplt.org>
Mon, 21 Jul 2025 01:13:20 +0000 (06:43 +0530)
committerSiddhesh Poyarekar <siddhesh@gotplt.org>
Wed, 23 Jul 2025 02:46:55 +0000 (08:16 +0530)
commit96d5aef307025a771ae4ef47a9b382ef20eb06c4
treebf26ab0d1b5c843f3686c3236c523e37a6718d3c
parent9eca5d517cf3fc9796e11bb44a8235360dcdcd86
testsuite: Fix overflow in gcc.dg/vect/pr116125.c

The test ends up writing a byte beyond bounds of the buffer, which gets
trapped on some targets when the test is run with
-fstack-protector-strong.

gcc/testsuite/ChangeLog:

* gcc.dg/vect/pr116125.c (mem_overlap): Expand A to 10 members.

Signed-off-by: Siddhesh Poyarekar <siddhesh@gotplt.org>
gcc/testsuite/gcc.dg/vect/pr116125.c