[Bug tree-optimization/40321] [4.4/4.5 Regression] internal compiler error: in compute_antic, at tree-ssa-pre.c:2501

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jun 2 15:46:00 GMT 2009



------- Comment #11 from rguenth at gcc dot gnu dot org  2009-06-02 15:46 -------
Even simpler testcase:

struct X { int flag; int pos; };
int foo(struct X *a, struct X *b)
{
  while (1)
    {
      if (a->flag)
        break;
      ({ struct X *tmp = a; a = b; b = tmp; });
    }

  return a->pos + b->pos;
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40321



More information about the Gcc-bugs mailing list