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

            Bug ID: 84680
           Summary: internal compiler error: Max. number of generated
                    reload insns per insn is achieved (90)
           Product: gcc
           Version: 8.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: inline-asm
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vegard.nossum at gmail dot com
  Target Milestone: ---

Input:

void a() {
  double b;
  asm volatile("" : "=vp" (b) : "0" (__builtin_alloca));
}

Output:

$ xgcc -x c++ -S -Wall -
during RTL pass: reload
<stdin>: In function 'void a()':
<stdin>:4:1: internal compiler error: Max. number of generated reload insns per
insn is achieved (90)

0x28be84c lra_constraints(bool)
        /home/vegard/git/gcc/gcc/lra-constraints.c:4801
0x282c524 lra(_IO_FILE*)
        /home/vegard/git/gcc/gcc/lra.c:2419
0x260b334 do_reload
        /home/vegard/git/gcc/gcc/ira.c:5465
0x260b334 execute
        /home/vegard/git/gcc/gcc/ira.c:5649

$ xgcc --version
xgcc (GCC) 8.0.1 20180301 (experimental)

Built from git c435a9e730c6e8f10da09d58b4fc9aaeb401b0d5 (r258097).

Seems to start failing between 4.8.5 and 4.9.0.

Test case was minimised by C-Reduce.

Reply via email to