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

            Bug ID: 68959
           Summary: Test case ICEs with -mlra -mvsx-timode
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bergner at gcc dot gnu.org
  Target Milestone: ---

bergner@genoa:~/gcc/BUGS/LRA/new$ cat t001_x.i 
typedef union { _Decimal128 a; } u_t;
extern u_t fn2 (u_t);
u_t
fn1 (void)
{
  return fn2 (fn1 ());
}

bergner@genoa:~/gcc/BUGS/LRA/new$
/home/bergner/gcc/build/gcc-fsf-mainline-bootstrap-lra-default-7/gcc/xgcc
-B/home/bergner/gcc/build/gcc-fsf-mainline-bootstrap-lra-default-7/gcc/ -mvsx
-S t001_x.i
t001_x.i: In function ‘fn1’:
t001_x.i:7:1: internal compiler error: Max. number of generated reload insns
per insn is achieved (90)
 }
 ^

0x10689feb lra_constraints(bool)
       
/home/bergner/gcc/gcc-fsf-mainline-bootstrap-lra-default/gcc/lra-constraints.c:4336
0x1066f79f lra(_IO_FILE*)
        /home/bergner/gcc/gcc-fsf-mainline-bootstrap-lra-default/gcc/lra.c:2277
0x106100cb do_reload
        /home/bergner/gcc/gcc-fsf-mainline-bootstrap-lra-default/gcc/ira.c:5383
0x106100cb execute
        /home/bergner/gcc/gcc-fsf-mainline-bootstrap-lra-default/gcc/ira.c:5554
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Mike, without looking too closely, I wonder if we need to add TDmode support to
your fix in PR68805 ?  I'll see if that helps.

Reply via email to