This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/23452] Optimizing CONJG_EXPR (a) * a
- From: "tkoenig at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Jun 2006 19:13:28 -0000
- Subject: [Bug tree-optimization/23452] Optimizing CONJG_EXPR (a) * a
- References: <bug-23452-10391@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from tkoenig at gcc dot gnu dot org 2006-06-01 19:13 -------
(In reply to comment #3)
> This is now fixed on mainline provided the user specifies -ffast-math.
> There are some complications where imagpart(z*~z) can be non-zero, if
> imagpart(z) is non-finite, such as an Inf or a NaN. It's unclear from
> the fortran-95 standard whether gfortran is allowed to optimize this
> even without -ffast-math.
I'll ask con comp.lang.fortran :-)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23452