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/15911] VRP/DOM does not like TRUTH_AND_EXPR



------- Comment #23 from rguenth at gcc dot gnu dot org  2006-04-17 16:54 -------
It also helps for propagating loop versioning guard information like

int foo(int i, int j)
{
  int res = 0;
  if (i==1 && j==2)
    for (;i>0;--i)
      res += j;
  else
    for (;i>0;--i)
      res += j;
  return res;
}


-- 


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


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