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

            Bug ID: 89412
           Summary: [8 Regression] bootstrap fails in libgfortran on
                    powerpc64le-linux-gnu
           Product: gcc
           Version: 8.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at debian dot org
  Target Milestone: ---

seen with the 8.3 release candidate, tested in i686-linux-gnu (and reported for
mips64el and armhf as well), building flang:

$ cat cdpowi.i
typedef struct {
  double a;
  double b;
} c;
c d;
int e;
double f;
void g() {
  _Complex h;
  while (e) {
    f = h;
    *(c *)&h = d;
  }
}

$ gcc -Wall -c -O1 cdpowi.i 
during RTL pass: expand
cdpowi.i: In function 'g':
cdpowi.i:12:14: internal compiler error: in simplify_subreg, at
simplify-rtx.c:6273
     *(c *)&h = d;
     ~~~~~~~~~^~~
Please submit a full bug report,
with preprocessed source if appropriate.

Reply via email to