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

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).