[Bug middle-end/19953] Special-case real + complex arithmetic operation (-ffast-math)

Thomas dot Koenig at online dot de gcc-bugzilla@gcc.gnu.org
Tue Feb 15 20:43:00 GMT 2005


------- Additional Comments From Thomas dot Koenig at online dot de  2005-02-15 10:29 -------

> And in fact this only can happen with -funsafe-math-optimizations (or maybe
with -fno-trapping-
> math because a+0.0 can trap.

Hmm...

if b is complex and has the value (0., signalling NaN) and a is
real with the value 1.0, should a+b trap?  I don't think so, but I'm
open to discussion on that point.


-- 


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



More information about the Gcc-bugs mailing list