public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/104447] New: [9/10/11/12 Regression] ICE: maximum number of LRA assignment passes is achieved (30)
@ 2022-02-08 19:42 gscfq@t-online.de
2022-02-09 0:40 ` [Bug rtl-optimization/104447] " pinskia at gcc dot gnu.org
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: gscfq@t-online.de @ 2022-02-08 19:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104447
Bug ID: 104447
Summary: [9/10/11/12 Regression] ICE: maximum number of LRA
assignment passes is achieved (30)
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 versions r8+ and file ./gcc.target/i386/pr55512-4.c :
$ gcc-12-20220206 -c pr55512-4.c -O2 -pg -fchecking
during RTL pass: reload
pr55512-4.c: In function 'bar':
pr55512-4.c:14:1: internal compiler error: maximum number of LRA assignment
passes is achieved (30)
14 | }
| ^
0xa93650 lra_assign(bool&)
../../gcc/lra-assigns.cc:1694
0xa8e73c lra(_IO_FILE*)
../../gcc/lra.cc:2395
0xa473f9 do_reload
../../gcc/ira.cc:5940
0xa473f9 execute
../../gcc/ira.cc:6126
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/104447] [9/10/11/12 Regression] ICE: maximum number of LRA assignment passes is achieved (30)
2022-02-08 19:42 [Bug c/104447] New: [9/10/11/12 Regression] ICE: maximum number of LRA assignment passes is achieved (30) gscfq@t-online.de
@ 2022-02-09 0:40 ` pinskia at gcc dot gnu.org
2022-02-09 6:17 ` crazylht at gmail dot com
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-02-09 0:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104447
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2022-02-09
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Known to work| |7.5.0
Target Milestone|--- |9.5
Known to fail| |8.1.0
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
note The ICE changed in GCC 11 from:
<source>:3:3: error: 'asm' operand has impossible constraints
3 | asm goto ("" : : "r" (x), "r" (x + 1), "r" (x + 2), "r" (x + 3), /* {
dg-error "operand has impossible constraints" } */
| ^~~
<source>:3:3: error: 'asm' operand has impossible constraints
<source>:10:1: error: in basic block 2:
10 | }
| ^
<source>:10:1: error: in basic block 2:
}
^
<source>:10:1: error: flow control insn inside a basic block
(jump_insn 23 77 75 2 (parallel [
(asm_operands/v ("") ("") 0 []
[]
[
(label_ref:DI 24)
] <source>:3)
(clobber (reg:CCFP 18 fpsr))
(clobber (reg:CC 17 flags))
]) "<source>":3 -1
(nil)
-> 24)
To:
<source>:10:1: internal compiler error: maximum number of LRA assignment passes
is achieved (30)
So it would be useful to get the bisects at the point of change and also when
it originally broke.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/104447] [9/10/11/12 Regression] ICE: maximum number of LRA assignment passes is achieved (30)
2022-02-08 19:42 [Bug c/104447] New: [9/10/11/12 Regression] ICE: maximum number of LRA assignment passes is achieved (30) gscfq@t-online.de
2022-02-09 0:40 ` [Bug rtl-optimization/104447] " pinskia at gcc dot gnu.org
@ 2022-02-09 6:17 ` crazylht at gmail dot com
2022-02-09 7:32 ` rguenth at gcc dot gnu.org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: crazylht at gmail dot com @ 2022-02-09 6:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104447
--- Comment #2 from Hongtao.liu <crazylht at gmail dot com> ---
w/o -pg, there's an error output as expected:
../gcc.target/i386/pr55512-4.c:7:3: error: ‘asm’ operand has impossible
constraints
7 | asm goto ("" : : "r" (x), "r" (x + 1), "r" (x + 2), "r" (x + 3), /* {
dg-error "operand has impossible constraints" } */
It looks like an diagnostic issue?
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/104447] [9/10/11/12 Regression] ICE: maximum number of LRA assignment passes is achieved (30)
2022-02-08 19:42 [Bug c/104447] New: [9/10/11/12 Regression] ICE: maximum number of LRA assignment passes is achieved (30) gscfq@t-online.de
2022-02-09 0:40 ` [Bug rtl-optimization/104447] " pinskia at gcc dot gnu.org
2022-02-09 6:17 ` crazylht at gmail dot com
@ 2022-02-09 7:32 ` rguenth at gcc dot gnu.org
2022-02-10 15:53 ` jakub at gcc dot gnu.org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-02-09 7:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104447
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/104447] [9/10/11/12 Regression] ICE: maximum number of LRA assignment passes is achieved (30)
2022-02-08 19:42 [Bug c/104447] New: [9/10/11/12 Regression] ICE: maximum number of LRA assignment passes is achieved (30) gscfq@t-online.de
` (2 preceding siblings ...)
2022-02-09 7:32 ` rguenth at gcc dot gnu.org
@ 2022-02-10 15:53 ` jakub at gcc dot gnu.org
2022-02-17 16:50 ` cvs-commit at gcc dot gnu.org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-02-10 15:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104447
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org,
| |vmakarov at gcc dot gnu.org
Keywords|needs-bisection |
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Before r8-7279-g6027ea4cd7b1e955cf7cd61e9178a89d89e3dbe2
we emitted just the 2 'asm' operand has impossible constraints errors and
nothing more, since r8-7279 we ICE after those.
And starting with r11-5002-ge3b3b59683c1e7d31a9d313dd97394abebf644be
it is sometimes
internal compiler error: in lra_assign, at lra-assigns.c:1648
and sometimes
internal compiler error: maximum number of LRA assignment passes is achieved
(30)
(which one changes pretty often over the revisions).
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/104447] [9/10/11/12 Regression] ICE: maximum number of LRA assignment passes is achieved (30)
2022-02-08 19:42 [Bug c/104447] New: [9/10/11/12 Regression] ICE: maximum number of LRA assignment passes is achieved (30) gscfq@t-online.de
` (3 preceding siblings ...)
2022-02-10 15:53 ` jakub at gcc dot gnu.org
@ 2022-02-17 16:50 ` cvs-commit at gcc dot gnu.org
2022-05-27 9:47 ` [Bug rtl-optimization/104447] [10/11/12/13 " rguenth at gcc dot gnu.org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-02-17 16:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104447
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Vladimir Makarov <vmakarov@gcc.gnu.org>:
https://gcc.gnu.org/g:db69f666a728ce800a840115829f6b64bc3174d2
commit r12-7278-gdb69f666a728ce800a840115829f6b64bc3174d2
Author: Vladimir N. Makarov <vmakarov@redhat.com>
Date: Thu Feb 17 11:31:50 2022 -0500
[PR104447] LRA: Do not split non-alloc hard regs.
LRA tried to split non-allocated hard reg for reload pseudos again and
again until number of assignment passes reaches the limit. The patch fixes
this.
gcc/ChangeLog:
PR rtl-optimization/104447
* lra-constraints.cc (spill_hard_reg_in_range): Initiate ignore
hard reg set by lra_no_alloc_regs.
gcc/testsuite/ChangeLog:
PR rtl-optimization/104447
* gcc.target/i386/pr104447.c: New.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/104447] [10/11/12/13 Regression] ICE: maximum number of LRA assignment passes is achieved (30)
2022-02-08 19:42 [Bug c/104447] New: [9/10/11/12 Regression] ICE: maximum number of LRA assignment passes is achieved (30) gscfq@t-online.de
` (4 preceding siblings ...)
2022-02-17 16:50 ` cvs-commit at gcc dot gnu.org
@ 2022-05-27 9:47 ` rguenth at gcc dot gnu.org
2022-06-28 10:48 ` jakub at gcc dot gnu.org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ 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=104447
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.5 |10.4
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9 branch is being closed
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/104447] [10/11/12/13 Regression] ICE: maximum number of LRA assignment passes is achieved (30)
2022-02-08 19:42 [Bug c/104447] New: [9/10/11/12 Regression] ICE: maximum number of LRA assignment passes is achieved (30) gscfq@t-online.de
` (5 preceding siblings ...)
2022-05-27 9:47 ` [Bug rtl-optimization/104447] [10/11/12/13 " rguenth at gcc dot gnu.org
@ 2022-06-28 10:48 ` jakub at gcc dot gnu.org
2023-07-07 10:42 ` [Bug rtl-optimization/104447] [11/12/13/14 " rguenth at gcc dot gnu.org
2024-03-11 4:35 ` [Bug rtl-optimization/104447] [11 " law at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-06-28 10:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104447
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.4 |10.5
--- Comment #6 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] 10+ messages in thread
* [Bug rtl-optimization/104447] [11/12/13/14 Regression] ICE: maximum number of LRA assignment passes is achieved (30)
2022-02-08 19:42 [Bug c/104447] New: [9/10/11/12 Regression] ICE: maximum number of LRA assignment passes is achieved (30) gscfq@t-online.de
` (6 preceding siblings ...)
2022-06-28 10:48 ` jakub at gcc dot gnu.org
@ 2023-07-07 10:42 ` rguenth at gcc dot gnu.org
2024-03-11 4:35 ` [Bug rtl-optimization/104447] [11 " law at gcc dot gnu.org
8 siblings, 0 replies; 10+ 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=104447
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.5 |11.5
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 10 branch is being closed.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug rtl-optimization/104447] [11 Regression] ICE: maximum number of LRA assignment passes is achieved (30)
2022-02-08 19:42 [Bug c/104447] New: [9/10/11/12 Regression] ICE: maximum number of LRA assignment passes is achieved (30) gscfq@t-online.de
` (7 preceding siblings ...)
2023-07-07 10:42 ` [Bug rtl-optimization/104447] [11/12/13/14 " rguenth at gcc dot gnu.org
@ 2024-03-11 4:35 ` law at gcc dot gnu.org
8 siblings, 0 replies; 10+ messages in thread
From: law at gcc dot gnu.org @ 2024-03-11 4:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104447
Jeffrey A. Law <law at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |law at gcc dot gnu.org
Summary|[11/12/13/14 Regression] |[11 Regression] ICE:
|ICE: maximum number of LRA |maximum number of LRA
|assignment passes is |assignment passes is
|achieved (30) |achieved (30)
--- Comment #8 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Fixed back in the gcc-12 era. Adjusting regression markers.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2024-03-11 4:35 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-08 19:42 [Bug c/104447] New: [9/10/11/12 Regression] ICE: maximum number of LRA assignment passes is achieved (30) gscfq@t-online.de
2022-02-09 0:40 ` [Bug rtl-optimization/104447] " pinskia at gcc dot gnu.org
2022-02-09 6:17 ` crazylht at gmail dot com
2022-02-09 7:32 ` rguenth at gcc dot gnu.org
2022-02-10 15:53 ` jakub at gcc dot gnu.org
2022-02-17 16:50 ` cvs-commit at gcc dot gnu.org
2022-05-27 9:47 ` [Bug rtl-optimization/104447] [10/11/12/13 " rguenth at gcc dot gnu.org
2022-06-28 10:48 ` jakub at gcc dot gnu.org
2023-07-07 10:42 ` [Bug rtl-optimization/104447] [11/12/13/14 " rguenth at gcc dot gnu.org
2024-03-11 4:35 ` [Bug rtl-optimization/104447] [11 " law 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).