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

            Bug ID: 78543
           Summary: [6 Regression] ICE in push_reload, at reload.c:1349 on
                    powerpc64le-linux-gnu
           Product: gcc
           Version: 6.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at gcc dot gnu.org
  Target Milestone: ---

seen with the gcc-6-branch r242827, works with 5 and the trunk, works with -O2
instead of -O3:

$ cat message_print_format_dig.i 
char b[] = {};
short c, d;
int e, f;
short *g;
void h();
int i();
int t() {
  short j, s;
  unsigned k;
  int l;
  char m[65535];
  for (; s;)
    if (i())
      return e;
  for (int o = 1; o < 4; o++)
    for (unsigned n = d; n; n--) {
      if (i(f, m, sizeof(m)) < 0)
        return e;
      char p = 0;
      c = *g;
      short q = 0, r = ({
                     j = *g;
                     (short)(j >> 8 & 255u | j << 8);
                   });
      unsigned a = k + 4;
      if (b[o] && d) {
        h(l, "%", &p);
        h(l, "%7", &q);
        while (k < a)
          h(c, r);
        h("");
      }
    }
}
$ gcc -O3 -c message_print_format_dig.i 
message_print_format_dig.i: In function 't':
message_print_format_dig.i:34:1: internal compiler error: in push_reload, at
reload.c:1349
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.

Reply via email to