This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/64728] [5 Regression] internal compiler error: SSA corruption


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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Started with r217034.
Reduced testcase for -O:
char a[128];
int b, d;
void baz (long);
int setjmp (char [128]);

static void
bar (long *x)
{
  if (d)
    *x = b;
}

void
foo ()
{
  baz (0);
  if (setjmp (a))
    {
      long c;
      bar (&c);
      baz (c);
    }
  baz (0);
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]