From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E51D23858D20; Wed, 2 Aug 2023 20:17:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E51D23858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1691007428; bh=Tfvlh8fKY5r/qTAkYwHQHd9YnjTj190gfxpVCdGMYds=; h=From:To:Subject:Date:In-Reply-To:References:From; b=CkT4OVNcZKf061fT/SaEa/1T22PWFnt8IBIYPS1dfA1qVuGjIUjDjvLl37ebRGxzf 8D+QoYN6SaNffWA4F+2ppYuCdJtBXL702StS3blsKdnUoeYYxt/A1ILW9+p3w0NFtt A952QR/32LjRxMxPG7cdUZYy2+rbXI6LxUKBktsg= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/110874] [14 Regression] ice with -O2 with recent gcc Date: Wed, 02 Aug 2023 20:17:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pinskia at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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=3D110874 --- Comment #7 from Andrew Pinski --- (In reply to David Binderman from comment #6) > (In reply to Andrew Pinski from comment #4) > > There is a stack overflow while executing the FRE pass. >=20 > I can confirm over 100,000 stack frames. >=20 > Which -f flag causes the FRE pass to be executed ? > I assume it is in -O2, but not in -O1. Fre is enabled at -O1 but the IR changes before fre. I have not looked into what changes to the IR on why there is a difference between -O1 and -O2 yet= .=