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: "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: 1 Nov 2006 04:30:55 -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 #5 from pinskia at gcc dot gnu dot org 2006-11-01 04:30 -------
(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.
Well Fortran 95 does not have non-finite except with a TR and the IEEE fp
types, I forgot the number and the name
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23452