[Bug tree-optimization/17671] PHI-OPT is not smart enough

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Sep 28 22:42:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-28 22:42 -------
Here is another example (which shows up in PR8361) (plus after my patch we actually optimize it better 
than before):
_Bool f1(_Bool a, _Bool b)
{
  if (a)
   {
     if (b)
      return 1;
     else
      return 0;
   }
  return 0;
}

-- 


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



More information about the Gcc-bugs mailing list