From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 04A473858020; Fri, 15 Oct 2021 03:21:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 04A473858020 From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/102761] [10/11/12 Regression] ICE with -O1 and above: in ix86_print_operand_address_as due to %a0 and if_then_else and X constraint Date: Fri, 15 Oct 2021 03:21:49 +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: unknown X-Bugzilla-Keywords: ice-on-invalid-code, inline-asm X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org 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: 10.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords cf_reconfirmed_on bug_status short_desc cf_known_to_work target_milestone everconfirmed 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: Fri, 15 Oct 2021 03:21:50 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D102761 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-invalid-code Last reconfirmed| |2021-10-15 Status|UNCONFIRMED |NEW Summary|ICE with -O1 and above: in |[10/11/12 Regression] ICE |ix86_print_operand_address_ |with -O1 and above: in |as, at |ix86_print_operand_address_ |config/i386/i386.c:13720 |as due to %a0 and | |if_then_else and X | |constraint Known to work| |9.1.0, 9.4.0 Target Milestone|--- |10.4 Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski --- (insn 16 30 20 2 (parallel [ (asm_operands/v ("%a0") ("") 0 [ (if_then_else:SI (ne:SI (reg:SI 0 ax [86]) (const_int 0 [0])) (const_int 2 [0x2]) (const_int 1 [0x1])) ] [ (asm_input:SI ("X") /app/example.cpp:1) ] [] /app/example.cpp:1) (clobber (reg:CC 17 flags)) ]) "/app/example.cpp":1:7 -1 (expr_list:REG_DEAD (reg:SI 0 ax [86]) (expr_list:REG_UNUSED (reg:CC 17 flags) (nil))))=