[Bug target/25960] __gcc_add doesn't handle -0.0L properly
amodra at bigpond dot net dot au
gcc-bugzilla@gcc.gnu.org
Thu Feb 2 04:30:00 GMT 2006
------- Comment #4 from amodra at bigpond dot net dot au 2006-02-02 04:30 -------
I don't think this bug should have been closed so quickly. Fixing __gcc_qadd
to properly handle a -0 result is trivial, and only costs one extra compare and
branch. The multiply and divide support in darwin-ldouble.c already have
special code for -0, with a comment "Preserve -0", so I think lack of such a
test in __gcc_qadd is simply an oversight.
--
amodra at bigpond dot net dot au changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |munroesj at us dot ibm dot
| |com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25960
More information about the Gcc-bugs
mailing list