https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101468
Bug ID: 101468 Summary: [r12 regression] new Wstringop-overflow tests failures since r12-2338 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: clyon at gcc dot gnu.org Target Milestone: --- Since r12-2338, I've noticed that some of the new tests fail on arm/aarch64. On aarch64: FAIL: gcc.dg/Wstringop-overflow-71.c (test for warnings, line 103) gcc.dg/Wstringop-overflow-71.c (test for warnings, line 104) gcc.dg/Wstringop-overflow-71.c (test for warnings, line 32) gcc.dg/Wstringop-overflow-71.c (test for warnings, line 43) gcc.dg/Wstringop-overflow-71.c (test for warnings, line 66) gcc.dg/Wstringop-overflow-71.c (test for warnings, line 77) gcc.dg/Wstringop-overflow-71.c (test for warnings, line 90) gcc.dg/Wstringop-overflow-71.c (test for warnings, line 91) gcc.dg/Wstringop-overflow-71.c (test for excess errors) UNRESOLVED: gcc.dg/strlenopt-95.c scan-tree-dump-not strlen1 "abort \\(" gcc.dg/strlenopt-95.c scan-tree-dump-not strlen1 "strlen \\(" on aarch64_be, we have two XPASS in addition to the FAIL above: gcc.dg/Wstringop-overflow-47.c pr97027 (test for warnings, line 77) gcc.dg/Wstringop-overflow-47.c pr97027 note (test for warnings, line 68) on arm-eabi, with default configuration flags, we have: XPASS: gcc.dg/Wstringop-overflow-68.c pr?????? (test for warnings, line 61) gcc.dg/Wstringop-overflow-68.c pr?????? (test for warnings, line 62) gcc.dg/Wstringop-overflow-68.c pr?????? (test for warnings, line 63) gcc.dg/Wstringop-overflow-68.c pr?????? (test for warnings, line 64) gcc.dg/Wstringop-overflow-68.c pr?????? (test for warnings, line 65) FAIL: gcc.dg/Wstringop-overflow-70.c (test for warnings, line 19) gcc.dg/Wstringop-overflow-70.c (test for excess errors) gcc.dg/Wstringop-overflow-71.c (test for warnings, line 103) gcc.dg/Wstringop-overflow-71.c (test for warnings, line 104) gcc.dg/Wstringop-overflow-71.c (test for warnings, line 32) gcc.dg/Wstringop-overflow-71.c (test for warnings, line 43) gcc.dg/Wstringop-overflow-71.c (test for warnings, line 66) gcc.dg/Wstringop-overflow-71.c (test for warnings, line 77) gcc.dg/Wstringop-overflow-71.c (test for warnings, line 90) gcc.dg/Wstringop-overflow-71.c (test for warnings, line 91) gcc.dg/Wstringop-overflow-71.c (test for excess errors) UNRESOLVED: gcc.dg/strlenopt-95.c scan-tree-dump-not strlen1 "abort \\(" gcc.dg/strlenopt-95.c scan-tree-dump-not strlen1 "strlen \\(" When forcing RUNTESTFLAGS to -mcpu=cortex-a7/-mfloat-abi=hard/-march=armv7ve+simd, in addition to the above we have: XPASS: gcc.dg/Wstringop-overflow-47.c pr97027 (test for warnings, line 77) gcc.dg/Wstringop-overflow-47.c pr97027 note (test for warnings, line 68) and gcc.dg/Wstringop-overflow-70.c no longer fails