From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7AE373858D39; Fri, 26 May 2023 09:26:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7AE373858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1685093172; bh=H1GBVxTiZh6PtqFlnjLaB3tkjjuknJlFcllhvkdNy5k=; h=From:To:Subject:Date:From; b=e7s+4HSdbbN0g4NY2FWoWX/Ri3/fTwILs9WgJngz0osbD014sYr5yuQPThnp6kRqW 1+UfQn39FdrlS8IKh6LCTtykTgTo6SKth160WO5LTQA99EE4RL6YaMtBphslvRzOax q5VjTvZ8S9sqCezklt+oZhFIHcIjFSafHhCwZ2l8= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/109983] New: [12/13/14 regression] Wireshark compilation hangs with -O2 -fipa-pta Date: Fri, 26 May 2023 09:26:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sjames at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109983 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=3D55165&action=3Dedit 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.=