------- Comment #3 from rguenth at gcc dot gnu dot org  2006-10-26 09:53 -------
And note that before TER we have

  p_108 = &this_91->a3.x[0];
  D.3632_327 = p_108 + 15B;
  if (p_108 <= D.3632_327) goto <L203>; else goto <L47>;

it sucks that we don't tree-combine COND_EXPRs.  Testcase:

int foo(int p)
{
  int q = p + 5;
  return q < p;
}
void bar(int p)
{
  int q = p + 5;
  if (q < p)
    link_error ();
}


-- 


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

Reply via email to