This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/17030] New: gfortran does not optimize ABS of complex that well
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Aug 2004 19:53:19 -0000
- Subject: [Bug fortran/17030] New: gfortran does not optimize ABS of complex that well
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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