https://gcc.gnu.org/g:57bdd08553be75e9eaf2a6313b19aca70589ff5a
commit 57bdd08553be75e9eaf2a6313b19aca70589ff5a Author: Alexandre Oliva <[email protected]> Date: Fri Jan 16 19:23:23 2026 -0300 testsuite: tolerate bogus warning in pr113026-1.c [PR113524] The bogus warning in pr113026-1.c is issued at some optimization levels on various 32-bit targets. for gcc/testsuite/ChangeLog PR tree-optimization/113524 * gcc.dg/torture/pr113026-1.c: XFAIL bogus warning on various 32-bit targets. Diff: --- gcc/testsuite/gcc.dg/torture/pr113026-1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.dg/torture/pr113026-1.c b/gcc/testsuite/gcc.dg/torture/pr113026-1.c index 37b5281d547f..fbea6e2aa15c 100644 --- a/gcc/testsuite/gcc.dg/torture/pr113026-1.c +++ b/gcc/testsuite/gcc.dg/torture/pr113026-1.c @@ -9,5 +9,5 @@ void foo (char *src, long n) { for (long i = 0; i < n; i++) - dst[i] = src[i]; /* { dg-bogus "" } */ + dst[i] = src[i]; /* { dg-bogus "" "PR118504" { xfail { { arm-*-eabi arm-*-vxworks* sparc-leon3-elf } || { ilp32 && { { riscv*-*-* powerpc*-*-* } || { x86 && *-*-vxworks* } } } } } } */ }
