public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/103097] New: ICE in move_for_stack_reg, at reg-stack.c:1186
@ 2021-11-05 11:06 asolokha at gmx dot com
  2021-11-05 11:33 ` [Bug target/103097] " marxin at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: asolokha at gmx dot com @ 2021-11-05 11:06 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 103097
           Summary: ICE in move_for_stack_reg, at reg-stack.c:1186
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: error-recovery, ice-on-invalid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---
            Target: x86_64-unknown-linux-gnu

gcc-12.0.0-alpha20211031 snapshot (g:ca84f39399fda80c770306465276ffd66d3766ed)
ICEs when compiling
gcc/testsuite/gcc.target/s390/vector/long-double-asm-earlyclobber.c w/ -O1
-fharden-conditional-branches:

% x86_64-unknown-linux-gnu-gcc-12.0.0 -O1 -fharden-conditional-branches -c
gcc/testsuite/gcc.target/s390/vector/long-double-asm-earlyclobber.c
gcc/testsuite/gcc.target/s390/vector/long-double-asm-earlyclobber.c: In
function 'main':
gcc/testsuite/gcc.target/s390/vector/long-double-asm-earlyclobber.c:12:3:
error: output constraint 0 must specify a single register
   12 |   asm("lzxr\t%0\n"
      |   ^~~
during RTL pass: stack
gcc/testsuite/gcc.target/s390/vector/long-double-asm-earlyclobber.c:17:1:
internal compiler error: in move_for_stack_reg, at reg-stack.c:1186
   17 | }
      | ^
0x7077c5 move_for_stack_reg
       
/var/tmp/portage/sys-devel/gcc-12.0.0_alpha20211031/work/gcc-12-20211031/gcc/reg-stack.c:1186
0xe0567a subst_stack_regs
       
/var/tmp/portage/sys-devel/gcc-12.0.0_alpha20211031/work/gcc-12-20211031/gcc/reg-stack.c:2457
0xe05851 convert_regs_1
       
/var/tmp/portage/sys-devel/gcc-12.0.0_alpha20211031/work/gcc-12-20211031/gcc/reg-stack.c:3093
0xe05851 convert_regs_2
       
/var/tmp/portage/sys-devel/gcc-12.0.0_alpha20211031/work/gcc-12-20211031/gcc/reg-stack.c:3227
0xe069a1 convert_regs
       
/var/tmp/portage/sys-devel/gcc-12.0.0_alpha20211031/work/gcc-12-20211031/gcc/reg-stack.c:3262
0xe069a1 reg_to_stack
       
/var/tmp/portage/sys-devel/gcc-12.0.0_alpha20211031/work/gcc-12-20211031/gcc/reg-stack.c:3387
0xe069a1 rest_of_handle_stack_regs
       
/var/tmp/portage/sys-devel/gcc-12.0.0_alpha20211031/work/gcc-12-20211031/gcc/reg-stack.c:3442
0xe069a1 execute
       
/var/tmp/portage/sys-devel/gcc-12.0.0_alpha20211031/work/gcc-12-20211031/gcc/reg-stack.c:3474

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

end of thread, other threads:[~2021-12-09  2:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-05 11:06 [Bug target/103097] New: ICE in move_for_stack_reg, at reg-stack.c:1186 asolokha at gmx dot com
2021-11-05 11:33 ` [Bug target/103097] " marxin at gcc dot gnu.org
2021-11-19 12:49 ` aoliva at gcc dot gnu.org
2021-12-09  2:39 ` cvs-commit at gcc dot gnu.org
2021-12-09  2:53 ` aoliva 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).