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
* [Bug target/97940] [11 Regression] ICE: in extract_insn, at recog.c:2306 (error: impossible constraint in 'asm'; error: unrecognizable insn)
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 ` rguenth at gcc dot gnu.org
2020-11-23 15:02 ` jakub at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-11-23 7:36 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97940
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |11.0
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/97940] [11 Regression] ICE: in extract_insn, at recog.c:2306 (error: impossible constraint in 'asm'; error: unrecognizable insn)
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
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-11-23 15:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97940
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
Keywords| |error-recovery
CC| |jakub at gcc dot gnu.org,
| |vmakarov at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The test has
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */
so it isn't meant for other arches, uses x86 specific constraints.
So this is just an IRA error recovery ICE on random garbage code.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/97940] [11/12 Regression] ICE: in extract_insn, at recog.c:2306 (error: impossible constraint in 'asm'; error: unrecognizable insn)
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 ` jakub at gcc dot gnu.org
2021-07-28 7:05 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-04-27 11:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97940
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|11.0 |11.2
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 11.1 has been released, retargeting bugs to GCC 11.2.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/97940] [11/12 Regression] ICE: in extract_insn, at recog.c:2306 (error: impossible constraint in 'asm'; error: unrecognizable insn)
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
` (2 preceding siblings ...)
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
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-07-28 7:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97940
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|11.2 |11.3
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 11.2 is being released, retargeting bugs to GCC 11.3
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/97940] [11/12 Regression] ICE: in extract_insn, at recog.c:2306 (error: impossible constraint in 'asm'; error: unrecognizable insn)
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
` (3 preceding siblings ...)
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
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-04-21 7:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97940
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|11.3 |11.4
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 11.3 is being released, retargeting bugs to GCC 11.4.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/97940] [11/12/13 Regression] ICE: in extract_insn, at recog.c:2306 (error: impossible constraint in 'asm'; error: unrecognizable insn)
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
` (4 preceding siblings ...)
2022-04-21 7:48 ` rguenth at gcc dot gnu.org
@ 2022-10-19 4:03 ` asolokha at gmx dot com
2022-10-27 7:55 ` linkw at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: asolokha at gmx dot com @ 2022-10-19 4:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97940
--- Comment #5 from Arseny Solokha <asolokha at gmx dot com> ---
I cannot reproduce it anymore w/ gcc 13.0.0 20221016 snapshot
(g:6366e3e8847af98d4728d55951534769d034d02a) and w/ gcc 12.2.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/97940] [11/12/13 Regression] ICE: in extract_insn, at recog.c:2306 (error: impossible constraint in 'asm'; error: unrecognizable insn)
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
` (5 preceding siblings ...)
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
6 siblings, 0 replies; 8+ messages in thread
From: linkw at gcc dot gnu.org @ 2022-10-27 7:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97940
Kewen Lin <linkw at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
CC| |linkw at gcc dot gnu.org
--- Comment #6 from Kewen Lin <linkw at gcc dot gnu.org> ---
The bisection shows the extra ICE dump was gone since r11-6562 (for fixing
PR98603), by checking the bug description of PR98603, I believed this is one
dup of that one.
*** This bug has been marked as a duplicate of bug 98603 ***
^ 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).