This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/25960] __gcc_add doesn't handle -0.0L properly
- From: "amodra at bigpond dot net dot au" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Feb 2006 04:30:40 -0000
- Subject: [Bug target/25960] __gcc_add doesn't handle -0.0L properly
- References: <bug-25960-87@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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