From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2A081384D153; Thu, 20 Oct 2022 18:57:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2A081384D153 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666292277; bh=W80AaXCxC4vQGJDs4bEJRdj/E7kDs+BHtIyZi6IubNQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Sd9bTnYJa99GVmaQtoKdrNNuM/PtIf+9yhqOL5388y6TcrWTL7KX8m07AXLPughj6 p5jYSICMCte/iBA3hHuixZdxqo0siGrVb6BDeIc588aEUvKfA4zDeFjR1pv2ILHQlQ jia4h4U/E70oLmK8d2psz32NQK+tE/iV7DzjZ3GY= From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/106959] [13 Regression] ICE in curr_insn_transform, at lra-constraints.cc:4168 (error: unable to generate reloads), or ICE in simplify_subreg, at simplify-rtx.cc:7405 since r13-2100-g5cccc24c06610d2f Date: Thu, 20 Oct 2022 18:57:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.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=3D106959 --- Comment #3 from Arseny Solokha --- Here's a shorter testcase that AFAICT doesn't rely on UB: unsigned __int128 m; int n; __attribute__ ((simd)) void foo (int x) { x =3D n ? n : (short int) x; if (x) m /=3D 2; } gcc 13.0.0 20221016 snapshot ICEs on that w/ just -O2 -fpeel-loops (and, optionally, --param max-combine-insns=3D2, as before).=