From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EF7A7385701F; Wed, 25 Aug 2021 09:45:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EF7A7385701F From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/102057] [12 Regression] ICE at -O2 in extract_constrain_insn, at recog.c:2670 Date: Wed, 25 Aug 2021 09:45:37 +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: 12.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.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 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, 25 Aug 2021 09:45:38 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102057 --- Comment #4 from Uro=C5=A1 Bizjak --- Oooh, default argument! --cut here-- diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 41d85623ad6..528116dfe2d 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -19475,8 +19472,8 @@ (match_dup 0)))] { operands[7] =3D SET_DEST (XVECEXP (PATTERN (peep2_next_insn (1)), 0, 0)); - operands[8] =3D replace_rtx (operands[5], operands[0], operands[1]); - operands[9] =3D replace_rtx (operands[6], operands[0], operands[1]); + operands[8] =3D replace_rtx (operands[5], operands[0], operands[1], true= ); + operands[9] =3D replace_rtx (operands[6], operands[0], operands[1], true= ); }) ;; Eliminate a reg-reg mov by inverting the condition of a cmov (#2). @@ -19507,8 +19504,8 @@ (match_dup 0)))] { operands[7] =3D SET_DEST (XVECEXP (PATTERN (peep2_next_insn (2)), 0, 0)); - operands[8] =3D replace_rtx (operands[5], operands[0], operands[1]); - operands[9] =3D replace_rtx (operands[6], operands[0], operands[1]); + operands[8] =3D replace_rtx (operands[5], operands[0], operands[1], true= ); + operands[9] =3D replace_rtx (operands[6], operands[0], operands[1], true= ); }) (define_expand "movcc" --cut here--=