The attached test case shows two equivalent functions, unfortunately the
first is not optimized as best as the second.  Notice the only different is the
placement of some superfluous parentheses.

Death to fold-const!

-- 
           Summary: fold does not spot anti-range test
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: nathan at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: i686-pc-linux-gnu


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

Reply via email to