[Bug c/24581] Complex arithmetic on special cases is incorrect.

jsm28 at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri May 8 10:34:00 GMT 2009



------- Comment #7 from jsm28 at gcc dot gnu dot org  2009-05-08 10:34 -------
Mixed real/complex arithmetic now handles signed zeros properly and GCC
will no longer try to second-guess complex/complex arithmetic as having
one half real or imaginary just because the imaginary or real part of
that half is zero, so signed zeros should be handled correctly within
the constraints of not having imaginary types.  This may of course not
be what you want in that I is of complex type, not imaginary, but
imaginary types have ABI implications and are of very doubtful utility
apart from these corner cases.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24581



More information about the Gcc-bugs mailing list