https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95757
Hans-Peter Nilsson <hp at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hp at gcc dot gnu.org Status|WAITING |NEW Last reconfirmed|2020-10-16 00:00:00 |2021-2-23 Target|powerpc64*-linux-gnu arm |powerpc64*-linux-gnu, arm, | |cris, mmix, pru, moxie, | |m68k --- Comment #6 from Hans-Peter Nilsson <hp at gcc dot gnu.org> --- I was just about to open a new bug-report with the following observations, some of which are not redundant: Since commit 5acc654e3807 / r11-1517 the test gcc.dg/Wstringop-overflow-25.c has failed for cris-elf as follows, still at 8e99b5ba4c19 / r11-7328: Running /x/gcc/gcc/testsuite/gcc.dg/dg.exp ... ... (elided lines) FAIL: gcc.dg/Wstringop-overflow-25.c pr92814 (test for warnings, line 378) The emitted warnings for the other lines of this tests are the same for cris-elf as for x86_64-pc-linux-gnu (where the test passes). There's no apparent reason for this difference. For example, it doesn't seem to have to do with alignment or structure layout. The same missing error on the same line can be seen for targets with widely different characteristics, like for mmix-knuth-mmixware: https://gcc.gnu.org/pipermail/gcc-testresults/2020-August/583266.html and powerpc64le-unknown-linux-gnu: https://gcc.gnu.org/pipermail/gcc-testresults/2021-February/652702.html and pru-unknown-elf: https://gcc.gnu.org/pipermail/gcc-testresults/2021-February/652712.html and moxie-unknown-elf: https://gcc.gnu.org/pipermail/gcc-testresults/2021-February/652743.html and m68k-unknown-linux-gnu: https://gcc.gnu.org/pipermail/gcc-testresults/2021-February/652763.html but not for i686-linux-gnu: https://gcc.gnu.org/pipermail/gcc-testresults/2021-February/652708.html nor aarch64-none-elf -mabi=ilp32: https://gcc.gnu.org/pipermail/gcc-testresults/2021-February/652767.html nor arm-none-eabi DEFCPU=cortex-a9: https://gcc.gnu.org/pipermail/gcc-testresults/2021-February/652814.html