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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2019-04-12
                 CC|                            |jakub at gcc dot gnu.org
   Target Milestone|---                         |7.5
            Summary|internal compiler error:    |[7/8/9 Regression] internal
                   |SSA corruption              |compiler error: SSA
                   |                            |corruption
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
With -O this started with r247495, with -O -fstrict-overflow already with
r229911.
Slightly cleaned up testcase:
int a;
static int b;

void
foo ()
{
  int d;
  int e = (int) (__INTPTR_TYPE__) &&f;
  void *g = &&h;
  h: ++e;
  if (a)
    i: goto *g;
  for (;;)
    {
      e = 0;
      if (b)
        goto i;
    }
f:
  goto *({ d || e < 0 || e >= 2; });
  &e;
}

Reply via email to