[Bug tree-optimization/15785] fold misses unary transformation

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


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-02 21:20 -------
int f(int x)
{
  return  - (~x); // should be x-1
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|15458                       |


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



More information about the Gcc-bugs mailing list