This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/30599] long double declaration rounds to double instead
- From: "whaley at cs dot utsa dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jun 2007 22:17:02 -0000
- Subject: [Bug target/30599] long double declaration rounds to double instead
- References: <bug-30599-12761@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from whaley at cs dot utsa dot edu 2007-06-20 22:17 -------
It may be C99, but since it doesn't work on 90% of the machines in the world,
it is a bit of a stretch to call it portable. My point is no standard mandates
you round down a long double (where you don't round down a double), and that
would provide a solution that *would* port to cygwin.
So I ask again, why do you need to round down a long double, but not a double
accumulator? Note that none of this would be necessary if gcc didn't randomly
round down doubles upon spills; remember that I switched to long double because
*you* declared it to be a solution since you did not plan to fix the original
spill/rounding bug. I am trying to get a math library working portably despite
these problems, but it seems I'm going to be prevented by interdependent gcc
bugs that will never be fixed.
--
whaley at cs dot utsa dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30599