[Bug c/52138] New: Operations on complex values are not inlined, even with -O3
gonnet at maths dot ox.ac.uk
gcc-bugzilla@gcc.gnu.org
Mon Feb 6 18:20:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52138
Bug #: 52138
Summary: Operations on complex values are not inlined, even
with -O3
Classification: Unclassified
Product: gcc
Version: 4.5.2
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: gonnet@maths.ox.ac.uk
Irrespective of the optimization level selected, multiplying or dividing two
complex doubles generates a call to __muldc3 or __divdc3 respectively.
Using the "-fcx-limited-range" flag inlines the operations, but then the range
may be limited.
Strangely enough, in the gfortran frontend, complex arithmetic is inlined even
with no optimization (-O0).
More information about the Gcc-bugs
mailing list