]> git.ipfire.org Git - thirdparty/gcc.git/commit
arm: add extra sizes to Wstrinop-overflow-47.c warning tests
authorAndre Vieira <andre.simoesdiasvieira@arm.com>
Tue, 25 Nov 2025 11:39:35 +0000 (11:39 +0000)
committerAndre Vieira <andre.simoesdiasvieira@arm.com>
Tue, 25 Nov 2025 11:39:35 +0000 (11:39 +0000)
commitf915e89fa66ca97e418937ab7d67e2c8b04ae750
tree207a511424e29b988438a8e5237636fb6aa63ef1
parent53b4e1d951eaf5bbb2fcedfdd156d80a4160878a
arm: add extra sizes to Wstrinop-overflow-47.c warning tests

A thumb2 target without a FPU like -mcpu=cortex-m3 will generate
'vector(4) char' stores which lead to warnings with sizes that weren't being
allowed before by the test.  This patch adds these sizes.

gcc/testsuite/ChangeLog:

* gcc.dg/Wstringop-overflow-47.c: Adjust warnings to allow for 32-bit
stores.
gcc/testsuite/gcc.dg/Wstringop-overflow-47.c