From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B5E293858409; Wed, 20 Oct 2021 15:29:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B5E293858409 From: "herrtimson at yahoo dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/102842] [10 Regression] ICE in cselib_record_set at -O2 or greater Date: Wed, 20 Oct 2021 15:29:37 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 10.3.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: herrtimson at yahoo dot de X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.4 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2021 15:29:37 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102842 --- Comment #9 from tt_1 --- So, I did a little bit of research. pr92807 has indeed been backported to t= he gcc-10 branch and is included in the gcc-10.3.0 release - it touches gcc/config/i386/i386.c and adds a testcase.=20 There is another fixup on top of that, which is the real fix the here repor= ted ICE: https://gcc.gnu.org/git/gitweb.cgi?p=3Dgcc.git;h=3D74dc179a6da33cd00f6d4a93= fbb97dc84f610126 or r11-209-g74dc179a6da33cd00f6d4a93fbb97dc84f610126 , to which you pointed= me as the most likely fix. But that fixup (commited by Vladimir Makarov) doesn= 't have any bug number in the description. I wrote him an email, maybe he will comment here later. Hint: its not an option to upgrade to gcc-11.2.0, since the cross compile bootstrap is fundamentally broken by missing fenv header in the gcc-11 bran= ch. Mixing up host and target compiler versions is nothing to desire, its a pla= ce where there will be dragons.=