This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/52138] Operations on complex values are not inlined, even with -O3
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 06 Feb 2012 18:58:00 +0000
- Subject: [Bug c/52138] Operations on complex values are not inlined, even with -O3
- Auto-submitted: auto-generated
- References: <bug-52138-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52138
--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-02-06 18:58:00 UTC ---
>From the manual:
-fcx-limited-range
When enabled, this option states that a range reduction step is not needed when
performing complex division. Also, there is no checking whether the result of a
complex multiplication or division is NaN + I*NaN, with an attempt to rescue
the situation in that case. The default is -fno-cx-limited-range, but is
enabled by -ffast-math.
This option controls the default setting of the ISO C99 CX_LIMITED_RANGE
pragma. Nevertheless, the option applies to all languages.
-fcx-fortran-rules
Complex multiplication and division follow Fortran rules. Range reduction is
done as part of complex division, but there is no checking whether the result
of a complex multiplication or division is NaN + I*NaN, with an attempt to
rescue the situation in that case.
The default is -fno-cx-fortran-rules.