public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/104209] New: ICE in lra_split_hard_reg_for, at lra-assigns.cc:1837
@ 2022-01-24 18:58 gscfq@t-online.de
2022-01-24 19:09 ` [Bug rtl-optimization/104209] [9/10/11/12 Regression] gcc.dg/torture/pr20314-2.c ICE with -m32 -fPIC in lra_split_hard_reg_for pinskia at gcc dot gnu.org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: gscfq@t-online.de @ 2022-01-24 18:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104209
Bug ID: 104209
Summary: ICE in lra_split_hard_reg_for, at lra-assigns.cc:1837
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gscfq@t-online.de
Target Milestone: ---
With file gcc.dg/torture/pr20314-2.c,
affects versions down to at least r5 :
$ gcc-12-20220123 -c pr20314-2.c -m32 -fPIC
pr20314-2.c: In function 'f1':
pr20314-2.c:5:3: error: 'asm' operand has impossible constraints
5 | __asm__ volatile (""
| ^~~~~~~
pr20314-2.c:9:1: error: unable to find a register to spill
9 | }
| ^
pr20314-2.c:9:1: error: this is the insn:
(insn 96 94 98 2 (set (reg:SI 151 [123])
(reg:SI 123)) "pr20314-2.c":5:3 81 {*movsi_internal}
(expr_list:REG_DEAD (reg:SI 123)
(nil)))
during RTL pass: reload
pr20314-2.c:9:1: internal compiler error: in lra_split_hard_reg_for, at
lra-assigns.cc:1837
0x685898 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
../../gcc/rtl-error.cc:108
0xc1f9e1 lra_split_hard_reg_for()
../../gcc/lra-assigns.cc:1837
0xc19c5b lra(_IO_FILE*)
../../gcc/lra.cc:2420
0xbc7b39 do_reload
../../gcc/ira.cc:5940
0xbc7b39 execute
../../gcc/ira.cc:6126
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/104209] [9/10/11/12 Regression] gcc.dg/torture/pr20314-2.c ICE with -m32 -fPIC in lra_split_hard_reg_for
2022-01-24 18:58 [Bug c/104209] New: ICE in lra_split_hard_reg_for, at lra-assigns.cc:1837 gscfq@t-online.de
@ 2022-01-24 19:09 ` pinskia at gcc dot gnu.org
2022-01-24 19:10 ` pinskia at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-01-24 19:09 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104209
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|testsuite-fail |
Status|UNCONFIRMED |NEW
Known to fail| |5.1.0
Last reconfirmed| |2022-01-24
Ever confirmed|0 |1
Summary|gcc.dg/torture/pr20314-2.c |[9/10/11/12 Regression]
|ICE with -m32 -fPIC in |gcc.dg/torture/pr20314-2.c
|lra_split_hard_reg_for |ICE with -m32 -fPIC in
| |lra_split_hard_reg_for
Known to work| |4.9.4
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed, 4.9.4 did not ICE.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/104209] [9/10/11/12 Regression] gcc.dg/torture/pr20314-2.c ICE with -m32 -fPIC in lra_split_hard_reg_for
2022-01-24 18:58 [Bug c/104209] New: ICE in lra_split_hard_reg_for, at lra-assigns.cc:1837 gscfq@t-online.de
2022-01-24 19:09 ` [Bug rtl-optimization/104209] [9/10/11/12 Regression] gcc.dg/torture/pr20314-2.c ICE with -m32 -fPIC in lra_split_hard_reg_for pinskia at gcc dot gnu.org
@ 2022-01-24 19:10 ` pinskia at gcc dot gnu.org
2022-01-25 7:56 ` rguenth at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-01-24 19:10 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104209
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Here is the testcase:
int a, b, c, d, e, f, g, h, i, j, k, l;
void
f1 (void)
{
__asm__ volatile (""
: [a] "+r" (a), [b] "+r" (b), [c] "+r" (c), [d] "+r" (d),
[e] "+r" (e), [f] "+r" (f), [g] "+r" (g), [h] "+r" (h),
[i] "+r" (i), [j] "+r" (j), [k] "+r" (k), [l] "+r" (l));
}
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/104209] [9/10/11/12 Regression] gcc.dg/torture/pr20314-2.c ICE with -m32 -fPIC in lra_split_hard_reg_for
2022-01-24 18:58 [Bug c/104209] New: ICE in lra_split_hard_reg_for, at lra-assigns.cc:1837 gscfq@t-online.de
2022-01-24 19:09 ` [Bug rtl-optimization/104209] [9/10/11/12 Regression] gcc.dg/torture/pr20314-2.c ICE with -m32 -fPIC in lra_split_hard_reg_for pinskia at gcc dot gnu.org
2022-01-24 19:10 ` pinskia at gcc dot gnu.org
@ 2022-01-25 7:56 ` rguenth at gcc dot gnu.org
2022-01-25 8:40 ` marxin at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-01-25 7:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104209
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |9.5
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/104209] [9/10/11/12 Regression] gcc.dg/torture/pr20314-2.c ICE with -m32 -fPIC in lra_split_hard_reg_for
2022-01-24 18:58 [Bug c/104209] New: ICE in lra_split_hard_reg_for, at lra-assigns.cc:1837 gscfq@t-online.de
` (2 preceding siblings ...)
2022-01-25 7:56 ` rguenth at gcc dot gnu.org
@ 2022-01-25 8:40 ` marxin at gcc dot gnu.org
2022-03-09 13:24 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-01-25 8:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104209
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marxin at gcc dot gnu.org
--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
I think it started with r5-4065-gbcb21886b9ea0c38.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/104209] [9/10/11/12 Regression] gcc.dg/torture/pr20314-2.c ICE with -m32 -fPIC in lra_split_hard_reg_for
2022-01-24 18:58 [Bug c/104209] New: ICE in lra_split_hard_reg_for, at lra-assigns.cc:1837 gscfq@t-online.de
` (3 preceding siblings ...)
2022-01-25 8:40 ` marxin at gcc dot gnu.org
@ 2022-03-09 13:24 ` rguenth at gcc dot gnu.org
2022-05-27 9:47 ` [Bug rtl-optimization/104209] [10/11/12/13 " rguenth at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-03-09 13:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104209
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/104209] [10/11/12/13 Regression] gcc.dg/torture/pr20314-2.c ICE with -m32 -fPIC in lra_split_hard_reg_for
2022-01-24 18:58 [Bug c/104209] New: ICE in lra_split_hard_reg_for, at lra-assigns.cc:1837 gscfq@t-online.de
` (4 preceding siblings ...)
2022-03-09 13:24 ` rguenth at gcc dot gnu.org
@ 2022-05-27 9:47 ` rguenth at gcc dot gnu.org
2022-06-28 10:47 ` jakub at gcc dot gnu.org
2023-07-07 10:42 ` [Bug rtl-optimization/104209] [11/12/13/14 " rguenth at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-05-27 9:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104209
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.5 |10.4
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9 branch is being closed
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/104209] [10/11/12/13 Regression] gcc.dg/torture/pr20314-2.c ICE with -m32 -fPIC in lra_split_hard_reg_for
2022-01-24 18:58 [Bug c/104209] New: ICE in lra_split_hard_reg_for, at lra-assigns.cc:1837 gscfq@t-online.de
` (5 preceding siblings ...)
2022-05-27 9:47 ` [Bug rtl-optimization/104209] [10/11/12/13 " rguenth at gcc dot gnu.org
@ 2022-06-28 10:47 ` jakub at gcc dot gnu.org
2023-07-07 10:42 ` [Bug rtl-optimization/104209] [11/12/13/14 " rguenth at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-06-28 10:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104209
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.4 |10.5
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 10.4 is being released, retargeting bugs to GCC 10.5.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/104209] [11/12/13/14 Regression] gcc.dg/torture/pr20314-2.c ICE with -m32 -fPIC in lra_split_hard_reg_for
2022-01-24 18:58 [Bug c/104209] New: ICE in lra_split_hard_reg_for, at lra-assigns.cc:1837 gscfq@t-online.de
` (6 preceding siblings ...)
2022-06-28 10:47 ` jakub at gcc dot gnu.org
@ 2023-07-07 10:42 ` rguenth at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-07 10:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104209
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.5 |11.5
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 10 branch is being closed.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2023-07-07 10:42 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-24 18:58 [Bug c/104209] New: ICE in lra_split_hard_reg_for, at lra-assigns.cc:1837 gscfq@t-online.de
2022-01-24 19:09 ` [Bug rtl-optimization/104209] [9/10/11/12 Regression] gcc.dg/torture/pr20314-2.c ICE with -m32 -fPIC in lra_split_hard_reg_for pinskia at gcc dot gnu.org
2022-01-24 19:10 ` pinskia at gcc dot gnu.org
2022-01-25 7:56 ` rguenth at gcc dot gnu.org
2022-01-25 8:40 ` marxin at gcc dot gnu.org
2022-03-09 13:24 ` rguenth at gcc dot gnu.org
2022-05-27 9:47 ` [Bug rtl-optimization/104209] [10/11/12/13 " rguenth at gcc dot gnu.org
2022-06-28 10:47 ` jakub at gcc dot gnu.org
2023-07-07 10:42 ` [Bug rtl-optimization/104209] [11/12/13/14 " rguenth 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).