[Bug target/40525] New: missed optimization in conditional expression

carrot at google dot com gcc-bugzilla@gcc.gnu.org
Tue Jun 23 09:00:00 GMT 2009


For simple conditional expression like (flag == 1 ? 2 : 0), gcc generates not
optimized code in terms of both code size and performance.


-- 
           Summary: missed optimization in conditional expression
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: carrot at google dot com
 GCC build triplet: i686-linux
  GCC host triplet: i686-linux
GCC target triplet: arm-eabi


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



More information about the Gcc-bugs mailing list