[Bug fortran/17030] New: gfortran does not optimize ABS of complex that well

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Aug 14 19:53:00 GMT 2004


gfortran just calls cabsf even with -ffast-math which changes cabsf into sqrt (r*r+i*i) which improves 
code generation a huge amount and should improve facerec a huge amount too.

-- 
           Summary: gfortran does not optimize ABS of complex that well
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: enhancement
          Priority: P2
         Component: fortran
        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=17030



More information about the Gcc-bugs mailing list