https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109983
Bug ID: 109983 Summary: [12/13/14 regression] Wireshark compilation hangs with -O2 -fipa-pta Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org CC: marxin at gcc dot gnu.org Target Milestone: --- Created attachment 55165 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55165&action=edit packet-rnsap.c.i.xz Originally reported downstream in Gentoo at https://bugs.gentoo.org/907182. Building Wireshark with -fipa-pta ends up hanging when compiling packet-rnsap.c. It's enough to just try to build the reproducer with -O2 -fipa-pta for me (actually, -O1 hangs too): ``` $ gcc-12 -O2 -fipa-pta -c packet-rnsap.c.i [... hangs ...] ``` gcc 11.3.1 20230518 doesn't hang, while 12.3.1 20230519 / 13.1.1 20230520 / 14.0.0 20230521 do.