https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123412
Bug ID: 123412
Summary: [16 Regression] g++-dg-lto-devirt-2-01.exe and
g++.dg/ipa/devirt-2.C since r16-3990-gad3fb999a1b568
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Keywords: testsuite-fail
Severity: normal
Priority: P3
Component: ipa
Assignee: unassigned at gcc dot gnu.org
Reporter: hp at gcc dot gnu.org
CC: hubicka at gcc dot gnu.org
Target Milestone: ---
On all targets*, but triaged for cris-elf, I see regressions for these tests
since r16-3990-gad3fb999a1b568:
Running /gcc/testsuite/g++.dg/dg.exp ...
[...]
FAIL: g++.dg/ipa/devirt-2.C -std=gnu++20 scan-ipa-dump cp "Discovered a
virtual call to a known target.*B::foo"
FAIL: g++.dg/ipa/devirt-2.C -std=gnu++98 scan-ipa-dump cp "Discovered a
virtual call to a known target.*B::foo"
FAIL: g++.dg/ipa/devirt-2.C -std=gnu++26 scan-ipa-dump cp "Discovered a
virtual call to a known target.*B::foo"
[...]
Running /gcc/testsuite/g++.dg/lto/lto.exp ...
FAIL: g++.dg/lto/devirt-23 cp_lto_devirt-23_0.o-cp_lto_devirt-23_0.o execute
-O3 -fno-early-inlining -fno-ipa-sra -fdump-ipa-cp -flto
-fno-devirtualize-speculatively
A g++.log for cris-elf does not yield further details.
*) Regarding "all targets":
gcc-regression:
"r16-3992 vs commit r16-3988 on Linux/x86_64"
https://gcc.gnu.org/pipermail/gcc-regression/2025-September/082703.html
gcc-testresults around that commit; passes before:
powerpc64le-unknown-linux-gnu r16-3987-gcc0959221ee2a6
https://gcc.gnu.org/pipermail/gcc-testresults/2025-September/857774.html
s390x-ibm-linux-gnu r16-3954-g642504b41ce
https://gcc.gnu.org/pipermail/gcc-testresults/2025-September/857729.html
pru-unknown-elf r16-3964-g6e4698c1368
https://gcc.gnu.org/pipermail/gcc-testresults/2025-September/857730.html
aarch64-suse-linux-gnu r16-3965-gf07d1f3135d3bd
https://gcc.gnu.org/pipermail/gcc-testresults/2025-September/857751.html
m68k-unknown-linux-gnu r16-3964-g6e4698c1368bf3
https://gcc.gnu.org/pipermail/gcc-testresults/2025-September/857784.html
arm-unknown-eabi gcc-16-3989-g1f8600897b8c
https://gcc.gnu.org/pipermail/gcc-testresults/2025-September/858376.html
Fails after:
powerpc64le-unknown-linux-gnu r16-3992-g7894c00982c570
https://gcc.gnu.org/pipermail/gcc-testresults/2025-September/857778.html
s390x-ibm-linux-gnu r16-3990-gad3fb999a1b
https://gcc.gnu.org/pipermail/gcc-testresults/2025-September/857780.html
pru-unknown-elf r16-3997-ga77146f0156
https://gcc.gnu.org/pipermail/gcc-testresults/2025-September/857789.html
aarch64-suse-linux-gnu r16-3999-g3eca9b5119f235
https://gcc.gnu.org/pipermail/gcc-testresults/2025-September/857822.html
m68k-unknown-linux-gnu r16-3997-ga77146f01563b5
https://gcc.gnu.org/pipermail/gcc-testresults/2025-September/857849.html
arm-unknown-eabi gcc-16-4124-g143cec1646ae
https://gcc.gnu.org/pipermail/gcc-testresults/2025-September/858408.html
Passes after:
(none found)