[Bug tree-optimization/15784] fold misses binary optimization

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jun 2 22:39:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-02 22:39 -------
int f(int x, int y)
{
  return x - y - x; // -y
}

#define abs(x) x>0?x:-x
int f(int x, int y)
{
  return (abs(x)) >= 0; //1
}

-- 


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



More information about the Gcc-bugs mailing list