Bug 124342 - FAIL/XPASS c-c++-common/Wstringop-overflow-2.c
Summary: FAIL/XPASS c-c++-common/Wstringop-overflow-2.c
Status: UNCONFIRMED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 16.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: testsuite-fail
Depends on:
Blocks:
 
Reported: 2026-03-03 09:43 UTC by Torbjorn SVENSSON
Modified: 2026-03-03 09:47 UTC (History)
0 users

See Also:
Host:
Target: arm
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Torbjorn SVENSSON 2026-03-03 09:43:40 UTC
After r16-4314-g5e9eecc66867ba, there are a bunch of checks that now FAIL or XPASS for arm-none-eabi.

I only see the failures for Cortex-A7 with -mfloat-abi=hard. Cortex-M55/M85 with -mfloat-abi=hard are okay.


Testing c-c++-common/Wstringop-overflow-2.c
doing compile
Executing on host: /build/r16-7849-g1f9879e17466f5/bin/arm-none-eabi-gcc  /build/gcc_src/gcc/testsuite/c-c++-common/Wstringop-overflow-2.c  -mthumb -march=armv7ve+neon -mtune=cortex-a7 -mfloat-abi=hard -mfpu=auto   -fdiagnostics-plain-output   -Wc++-compat  -O2 -Wall -Wno-array-bounds -fno-ipa-icf -S     -o Wstringop-overflow-2.s    (timeout = 800)
spawn -ignore SIGHUP /build/r16-7849-g1f9879e17466f5/bin/arm-none-eabi-gcc /build/gcc_src/gcc/testsuite/c-c++-common/Wstringop-overflow-2.c -mthumb -march=armv7ve+neon -mtune=cortex-a7 -mfloat-abi=hard -mfpu=auto -fdiagnostics-plain-output -Wc++-compat -O2 -Wall -Wno-array-bounds -fno-ipa-icf -S -o Wstringop-overflow-2.s
pid is 128405 -128405
...
XPASS: c-c++-common/Wstringop-overflow-2.c  -Wc++-compat   (test for warnings, line 22)
XPASS: c-c++-common/Wstringop-overflow-2.c  -Wc++-compat   (test for warnings, line 33)
XPASS: c-c++-common/Wstringop-overflow-2.c  -Wc++-compat   (test for warnings, line 44)
FAIL: c-c++-common/Wstringop-overflow-2.c  -Wc++-compat   (test for warnings, line 54)
XPASS: c-c++-common/Wstringop-overflow-2.c  -Wc++-compat   (test for warnings, line 55)
XPASS: c-c++-common/Wstringop-overflow-2.c  -Wc++-compat   (test for warnings, line 103)
XPASS: c-c++-common/Wstringop-overflow-2.c  -Wc++-compat   (test for warnings, line 114)
XPASS: c-c++-common/Wstringop-overflow-2.c  -Wc++-compat   (test for warnings, line 125)
FAIL: c-c++-common/Wstringop-overflow-2.c  -Wc++-compat   (test for warnings, line 169)
XPASS: c-c++-common/Wstringop-overflow-2.c  -Wc++-compat   (test for warnings, line 170)
FAIL: c-c++-common/Wstringop-overflow-2.c  -Wc++-compat   (test for warnings, line 174)
XPASS: c-c++-common/Wstringop-overflow-2.c  -Wc++-compat   (test for warnings, line 175)
FAIL: c-c++-common/Wstringop-overflow-2.c  -Wc++-compat   (test for warnings, line 186)
XPASS: c-c++-common/Wstringop-overflow-2.c  -Wc++-compat   (test for warnings, line 187)
FAIL: c-c++-common/Wstringop-overflow-2.c  -Wc++-compat   (test for warnings, line 203)
XPASS: c-c++-common/Wstringop-overflow-2.c  -Wc++-compat   (test for warnings, line 204)
FAIL: c-c++-common/Wstringop-overflow-2.c  -Wc++-compat   (test for warnings, line 220)
XPASS: c-c++-common/Wstringop-overflow-2.c  -Wc++-compat   (test for warnings, line 221)
XPASS: c-c++-common/Wstringop-overflow-2.c  -Wc++-compat   (test for warnings, line 269)
XPASS: c-c++-common/Wstringop-overflow-2.c  -Wc++-compat   (test for warnings, line 274)
XPASS: c-c++-common/Wstringop-overflow-2.c  -Wc++-compat   (test for warnings, line 286)
FAIL: c-c++-common/Wstringop-overflow-2.c  -Wc++-compat   (test for warnings, line 302)
XPASS: c-c++-common/Wstringop-overflow-2.c  -Wc++-compat   (test for warnings, line 303)
FAIL: c-c++-common/Wstringop-overflow-2.c  -Wc++-compat   (test for warnings, line 319)
XPASS: c-c++-common/Wstringop-overflow-2.c  -Wc++-compat   (test for warnings, line 320)

I've reduced the above test list to only contain those warnings that are problematic.
Comment 1 Torbjorn SVENSSON 2026-03-03 09:47:02 UTC
The log entry in comment 0 is from gcc.log.
There are similar entries for g++.log, but I have not verified that they are introduced in the same commit, but it feels likely.