public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/106877] New: [12/13 Regression] ICE in move_for_stack_reg, at reg-stack.cc:1076
@ 2022-09-07 17:20 gscfq@t-online.de
  2022-09-07 19:42 ` [Bug target/106877] [12/13 Regression] ICE in move_for_stack_reg, at reg-stack.cc:1076 since r12-248-gb58dc0b803057c0e marxin at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: gscfq@t-online.de @ 2022-09-07 17:20 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106877

            Bug ID: 106877
           Summary: [12/13 Regression] ICE in move_for_stack_reg, at
                    reg-stack.cc:1076
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Started with r12 before 20210502, at -O or -O1,
with file g++.dg/ext/pr84683.C or pr84828.C :


$ g++-13-20220904 -c pr84683.C -O1 -m16 -mtune=sandybridge
-flive-range-shrinkage -fno-dce
pr84683.C: In function 'void foo(float, double)':
pr84683.C:10:7: error: output constraint 0 must specify a single register
   10 |       asm volatile ("" : "+f" (c));     // { dg-error "must specify a
single register" }
      |       ^~~
during RTL pass: stack
pr84683.C:13:1: internal compiler error: in move_for_stack_reg, at
reg-stack.cc:1076
   13 | }
      | ^
0x11163b0 move_for_stack_reg
        ../../gcc/reg-stack.cc:1076
0x1117aca subst_stack_regs
        ../../gcc/reg-stack.cc:2457
0x1117c78 convert_regs_1
        ../../gcc/reg-stack.cc:3091
0x1117c78 convert_regs_2
        ../../gcc/reg-stack.cc:3225
0x1119b88 convert_regs
        ../../gcc/reg-stack.cc:3260
0x1119b88 reg_to_stack
        ../../gcc/reg-stack.cc:3385
0x1119b88 rest_of_handle_stack_regs
        ../../gcc/reg-stack.cc:3441
0x1119b88 execute
        ../../gcc/reg-stack.cc:3473

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-12-23 17:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-07 17:20 [Bug c++/106877] New: [12/13 Regression] ICE in move_for_stack_reg, at reg-stack.cc:1076 gscfq@t-online.de
2022-09-07 19:42 ` [Bug target/106877] [12/13 Regression] ICE in move_for_stack_reg, at reg-stack.cc:1076 since r12-248-gb58dc0b803057c0e marxin at gcc dot gnu.org
2022-09-08  1:27 ` pinskia at gcc dot gnu.org
2022-09-08  9:33 ` rguenth at gcc dot gnu.org
2022-09-13 10:05 ` roger at nextmovesoftware dot com
2022-09-13 18:50 ` cvs-commit at gcc dot gnu.org
2022-10-19  5:56 ` [Bug target/106877] [12 " rguenth at gcc dot gnu.org
2022-12-23 17:19 ` roger at nextmovesoftware dot com

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