public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/97940] New: [11 Regression] ICE: in extract_insn, at recog.c:2306 (error: impossible constraint in 'asm'; error: unrecognizable insn) Date: Mon, 23 Nov 2020 04:03:49 +0000 [thread overview] Message-ID: <bug-97940-4@http.gcc.gnu.org/bugzilla/> (raw) 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
next reply other threads:[~2020-11-23 4:03 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-11-23 4:03 asolokha at gmx dot com [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-97940-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).