]> 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:55:53 +0000 (08:25 +0530)
commit156c3ee6a9095c5ec6fc10d837fe3ae2291ad8a8
tree8f35762efd29189b5b6a5516658c4b76d5a8b30a
parent2f39b1b8d7cc29f2cb09c14c10f1fa1f51346ee4
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>
(cherry picked from commit 96d5aef307025a771ae4ef47a9b382ef20eb06c4)
gcc/testsuite/gcc.dg/vect/pr116125.c