https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126161
Bug ID: 126161
Summary: ICE in ipa-cp.cc:6072 with -fprofile-use -flto
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: ktkachov at gcc dot gnu.org
Target Milestone: ---
Created attachment 64960
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=64960&action=edit
Reproducer main file
I see an ICE when building some SPEC2026 benchmark with PGO on aarch64 at
ipa-cp.cc:6072
I'm attaching the main reproducer repro.cc that can be used to generate the TUs
needed to trigger this under LTO