https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97940
Bug ID: 97940 Summary: [11 Regression] ICE: in extract_insn, at recog.c:2306 (error: impossible constraint in 'asm'; error: unrecognizable insn) Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: powerpc-*-linux-gnu gcc-11.0.0-alpha20201122 snapshot (g:e23f47ec4065e9eec53c4ad9db91bc36a4f90793) ICEs when compiling gcc/testsuite/gcc.c-torture/compile/asmgoto-3.c w/ -mcpu=powerpc64le: % powerpc-e300c3-linux-gnu-gcc-11.0.0 -mcpu=powerpc64le -c gcc/testsuite/gcc.c-torture/compile/asmgoto-3.c gcc/testsuite/gcc.c-torture/compile/asmgoto-3.c: In function 'foo5': gcc/testsuite/gcc.c-torture/compile/asmgoto-3.c:60:3: error: impossible constraint in 'asm' 60 | asm goto ("": "=a" (x), "=d" (y), "=c" (z), "=b" (v), "=S" (w) : : : lab, lab2, lab3, lab4, lab5); | ^~~ gcc/testsuite/gcc.c-torture/compile/asmgoto-3.c:71:1: error: unrecognizable insn: 71 | } | ^ (jump_insn 10 2 11 2 (parallel [ (set (reg:SI 119 [ x ]) (asm_operands:SI ("") ("=a") 0 [] [] [ (label_ref:SI 11) (label_ref:SI 42) (label_ref:SI 47) (label_ref:SI 52) (label_ref:SI 57) ] gcc/testsuite/gcc.c-torture/compile/asmgoto-3.c:60)) (set (reg:SI 120 [ y ]) (asm_operands:SI ("") ("=d") 1 [] [] [ (label_ref:SI 11) (label_ref:SI 42) (label_ref:SI 47) (label_ref:SI 52) (label_ref:SI 57) ] gcc/testsuite/gcc.c-torture/compile/asmgoto-3.c:60)) (set (reg:SI 121 [ z ]) (asm_operands:SI ("") ("=c") 2 [] [] [ (label_ref:SI 11) (label_ref:SI 42) (label_ref:SI 47) (label_ref:SI 52) (label_ref:SI 57) ] gcc/testsuite/gcc.c-torture/compile/asmgoto-3.c:60)) (set (reg:SI 122 [ v ]) (asm_operands:SI ("") ("=b") 3 [] [] [ (label_ref:SI 11) (label_ref:SI 42) (label_ref:SI 47) (label_ref:SI 52) (label_ref:SI 57) ] gcc/testsuite/gcc.c-torture/compile/asmgoto-3.c:60)) (set (reg:SI 123 [ w ]) (asm_operands:SI ("") ("=S") 4 [] [] [ (label_ref:SI 11) (label_ref:SI 42) (label_ref:SI 47) (label_ref:SI 52) (label_ref:SI 57) ] gcc/testsuite/gcc.c-torture/compile/asmgoto-3.c:60)) (clobber (reg:SI 98 ca)) ]) "gcc/testsuite/gcc.c-torture/compile/asmgoto-3.c":60:3 -1 (insn_list:REG_LABEL_TARGET 11 (insn_list:REG_LABEL_TARGET 42 (insn_list:REG_LABEL_TARGET 47 (insn_list:REG_LABEL_TARGET 52 (nil))))) -> 57) during RTL pass: ira gcc/testsuite/gcc.c-torture/compile/asmgoto-3.c:71:1: internal compiler error: in extract_insn, at recog.c:2306 0x67ed88 _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20201122/work/gcc-11-20201122/gcc/rtl-error.c:108 0x67eda8 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*) /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20201122/work/gcc-11-20201122/gcc/rtl-error.c:116 0x67d4a4 extract_insn(rtx_insn*) /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20201122/work/gcc-11-20201122/gcc/recog.c:2306 0xbff072 ira /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20201122/work/gcc-11-20201122/gcc/ira.c:5423 0xbff072 execute /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20201122/work/gcc-11-20201122/gcc/ira.c:5945