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

            Bug ID: 88414
           Summary: [9 Regression] ICE in lra_assign, at
                    lra-assigns.c:1624
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: 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-9.0.0-alpha20181202 snapshot (r266729) for x86_64 ICEs when compiling
gcc/testsuite/gcc.target/m68k/pr45015.c w/ -O1 (-Og) -ftrapv:

% x86_64-unknown-linux-gnu-gcc-9.0.0-alpha20181202 -O1 -ftrapv -c
gcc/testsuite/gcc.target/m68k/pr45015.c
gcc/testsuite/gcc.target/m68k/pr45015.c: In function 'foo':
gcc/testsuite/gcc.target/m68k/pr45015.c:16:7: error: 'asm' operand has
impossible constraints
   16 |       __asm__ ("move.l %2, %0; move.l %3, %1" : "=d" (b), "=d" (c) :
"g<>" (y[j]), "d" (w));
      |       ^~~~~~~
during RTL pass: reload
gcc/testsuite/gcc.target/m68k/pr45015.c:26:1: internal compiler error: in
lra_assign, at lra-assigns.c:1624
   26 | }
      | ^
0xb897d0 lra_assign(bool&)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/lra-assigns.c:1624
0xb8443d lra(_IO_FILE*)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/lra.c:2508
0xb3b929 do_reload
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/ira.c:5469
0xb3b929 execute
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181202/work/gcc-9-20181202/gcc/ira.c:5653

Reply via email to