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

            Bug ID: 80017
           Summary: [5/6/7 Regression] ICE: Max. number of generated
                    reload insns per insn is achieved (90)
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Keywords: ra
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: bernds at gcc dot gnu.org, vmakarov at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-linux-gnu
            Target: x86_64-linux-gnu
             Build: x86_64-linux-gnu

Starting from 4.9.0 we ICE on:

$ gcc /home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/pr37434-1.c
-march=pentium -m32 -msse -c
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/pr37434-1.c: In
function ‘Set_AC4R_SETUP_I’:
/home/marxin/Programming/gcc/gcc/testsuite/gcc.target/i386/pr37434-1.c:12:1:
internal compiler error: Max. number of generated reload insns per insn is
achieved (90)

 }
 ^
0xd18074 lra_constraints(bool)
        ../../gcc/lra-constraints.c:4678
0xd0278c lra(_IO_FILE*)
        ../../gcc/lra.c:2392
0xcac6b2 do_reload
        ../../gcc/ira.c:5451
0xcacb52 execute
        ../../gcc/ira.c:5635

and probably the same issue:

$ cat ice.c
void a ()
{
  short b;
  __attribute__ ((__vector_size__ (8 * sizeof (short)))) short c = {b};
}

$ gcc ice.c -c -m32 -march=athlon-mp
ice.c: In function ‘a’:
ice.c:5:1: internal compiler error: Max. number of generated reload insns per
insn is achieved (90)

 }
 ^
0xd18074 lra_constraints(bool)
        ../../gcc/lra-constraints.c:4678
0xd0278c lra(_IO_FILE*)
        ../../gcc/lra.c:2392
0xcac6b2 do_reload
        ../../gcc/ira.c:5451
0xcacb52 execute
        ../../gcc/ira.c:5635

Reply via email to