https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102761
Andrew Pinski <pinskia at gcc dot gnu.org> 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 <pinskia at gcc dot gnu.org> ---
(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))))