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

            Bug ID: 91105
           Summary: internal compiler error: maximum number of generated
                    reload insns per insn achieved (90)
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gsocshubham at gmail dot com
  Target Milestone: ---
              Host: x86_64-linux-gnu
            Target: x86_64-linux-gnu
             Build: x86_64-linux-gnu

Created attachment 46571
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46571&action=edit
Preprocessed code of ICE causing program "crash1.c"

--------------------COMPILER CONFIGURATION------------------------------

Using built-in specs.
COLLECT_GCC=./xgcc
Target: x86_64-pc-linux-gnu
Configured with: ../gcc/configure --enable-languages=c,c++ --enable-lto
--disable-bootstrap : (reconfigured) ../gcc/configure --enable-lto
--disable-bootstrap --enable-languages=c,c++,lto --no-create --no-recursion
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 10.0.0 20190707 (experimental) (GCC) 

--------------------COMMAND LINE USED FOR COMPILATION-----------------------

~/pull-martin-compiler/build/gcc/xgcc -B ~/pull-martin-compiler/build/gcc/
crash1.i -O0 -w
during RTL pass: reload
crash1.c: In function ‘func_1’:
crash1.c:1317:1: internal compiler error: maximum number of generated reload
insns per insn achieved (90)
0xadf746 lra_constraints(bool)
        ../../gcc/gcc/lra-constraints.c:4902
0xac711c lra(_IO_FILE*)
        ../../gcc/gcc/lra.c:2468
0xa7a4b9 do_reload
        ../../gcc/gcc/ira.c:5522
0xa7a4b9 execute
        ../../gcc/gcc/ira.c:5706
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

---------------------------REDUCED TEST CASE--------------------------

void g();

struct a {
  short b;
  short c;
  short d;
};
union {
  struct a b;
} __attribute__((aligned(32), transparent_union)) e;
void f() { g(e); }

Reply via email to