------- Comment #2 from rguenth at gcc dot gnu dot org  2008-04-18 14:22 -------
Shorter testcase:

struct Loc { int x[2]; };

int foo (int i, int b) 
{
  struct Loc IND;

  if (b)
    {
      IND.x[0] = i;
      IND.x[1] = 0;
    }
  else
    {
      IND.x[0] = i;
      IND.x[1] = 1;
    }

  return IND.x[0];
}

this breaks during PHI translation where the oracle is not properly used.


-- 


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

Reply via email to