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

            Bug ID: 77346
           Summary: [7 Regression] ICE in push_reload, at reload.c:1350
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---
            Target: powerpc-*-linux-gnu*

gcc-7.0.0-alpha20160821 snapshots fails to compile the following snippet w/
-mno-lra -Os:

int qd, mc, t0;
long long int o1, rr, iw, sv;

void
hx (int c9)
{
  int *dt = &qd;

  while (qd != 0)
    for (rr = 2; rr < 6; ++rr)
      {
        qd = t0;
        if (dt != 0)
          {
            mc = c9;
            iw = &qd;
            while (o1 < 0)
              {
                dt = &t0;
                ++o1;
              }
          }
        sv = 0;
      }
}

% powerpc-e300c3-linux-gnu-gcc-7.0.0-alpha20160821 -mno-lra -Os -c -w
buwdtjav.c 
buwdtjav.c: In function 'hx':
buwdtjav.c:25:1: internal compiler error: in push_reload, at reload.c:1350

Reply via email to