public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/97940] New: [11 Regression] ICE: in extract_insn, at recog.c:2306 (error: impossible constraint in 'asm'; error: unrecognizable insn)
@ 2020-11-23  4:03 asolokha at gmx dot com
  2020-11-23  7:36 ` [Bug target/97940] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: asolokha at gmx dot com @ 2020-11-23  4:03 UTC (permalink / raw)
  To: gcc-bugs

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-10-27  7:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-23  4:03 [Bug target/97940] New: [11 Regression] ICE: in extract_insn, at recog.c:2306 (error: impossible constraint in 'asm'; error: unrecognizable insn) asolokha at gmx dot com
2020-11-23  7:36 ` [Bug target/97940] " rguenth at gcc dot gnu.org
2020-11-23 15:02 ` jakub at gcc dot gnu.org
2021-04-27 11:39 ` [Bug target/97940] [11/12 " jakub at gcc dot gnu.org
2021-07-28  7:05 ` rguenth at gcc dot gnu.org
2022-04-21  7:48 ` rguenth at gcc dot gnu.org
2022-10-19  4:03 ` [Bug target/97940] [11/12/13 " asolokha at gmx dot com
2022-10-27  7:55 ` linkw at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).