public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/105979] New: ICE in change_stack, at reg-stack.cc:2660
@ 2022-06-14 17:51 gscfq@t-online.de
  2022-06-14 21:07 ` [Bug target/105979] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: gscfq@t-online.de @ 2022-06-14 17:51 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 105979
           Summary: ICE in change_stack, at reg-stack.cc:2660
           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 r9, at -O1, with file g++.dg/ext/pr84828.C :


$ gcc-13-20220612 -c pr84828.C -O1 -mfpmath=387 -fno-tree-loop-optimize
pr84828.C: In function 'void foo(float, double)':
pr84828.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
pr84828.C:13:1: internal compiler error: in change_stack, at reg-stack.cc:2660
   13 | }
      | ^
0x103d37c change_stack
        ../../gcc/reg-stack.cc:2660
0x1041a57 compensate_edge
        ../../gcc/reg-stack.cc:2941
0x1041a57 compensate_edges
        ../../gcc/reg-stack.cc:2972
0x1041a57 convert_regs
        ../../gcc/reg-stack.cc:3276
0x1041a57 reg_to_stack
        ../../gcc/reg-stack.cc:3385
0x1041a57 rest_of_handle_stack_regs
        ../../gcc/reg-stack.cc:3441
0x1041a57 execute
        ../../gcc/reg-stack.cc:3473

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

* [Bug target/105979] ICE in change_stack, at reg-stack.cc:2660
  2022-06-14 17:51 [Bug c++/105979] New: ICE in change_stack, at reg-stack.cc:2660 gscfq@t-online.de
@ 2022-06-14 21:07 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-06-14 21:07 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 90777.

*** This bug has been marked as a duplicate of bug 90777 ***

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

end of thread, other threads:[~2022-06-14 21:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-14 17:51 [Bug c++/105979] New: ICE in change_stack, at reg-stack.cc:2660 gscfq@t-online.de
2022-06-14 21:07 ` [Bug target/105979] " pinskia 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).