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

            Bug ID: 88845
           Summary: ICE in lra_set_insn_recog_data, at lra.c:1010
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bergner at gcc dot gnu.org
  Target Milestone: ---

The following ICEs for me with trunk, GCC 8 and GCC 7:

bergner@pike:~$ cat bug.i
struct a {
  unsigned b;
  float c;
};
void
foo (void)
{
  float e;
  struct a f;
  e = f.c;
  __asm__("" : : "f"(e));
}
bergner@pike:~$ gcc -O2 -S bug.i
bug.i: In function ‘foo’:
bug.i:12:1: internal compiler error: in lra_set_insn_recog_data, at lra.c:1010
 }
 ^

Reply via email to