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

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Sep 29 03:44:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-29 03:44 -------
Here is another example which I already with my patch.
int f(int a, int b, int c)
{
  if (c == 0) goto temp;
  if (a == 0)
   return 0;
temp:
  if (a == b)
   return a;
 return a;
}

-- 


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



More information about the Gcc-bugs mailing list