[Bug tree-optimization/15785] New: fold misses neg transformation

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


int f(int x)
{
  return ~(x-1);//should be -x
}

-- 
           Summary: fold misses neg transformation
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Keywords: missed-optimization, TREE
          Severity: enhancement
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list