This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/37661] long double is buggy on sparc64
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Sep 2008 18:20:40 -0000
- Subject: [Bug target/37661] long double is buggy on sparc64
- References: <bug-37661-1710@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from joseph at codesourcery dot com 2008-09-27 18:20 -------
Subject: Re: long double is buggy on sparc64
On Sat, 27 Sep 2008, bagnara at cs dot unipr dot it wrote:
> This is good news. However, is there any known workaround for versions before
> 4.4?
If you want a workaround rather than backporting the patch, I suppose you
could do all your conversions to long double from long long or unsigned
long long instead of from 32-bit integer types, though the compiler might
optimize away the intermediate conversions and so stop such a workaround
from working. I'd advise backporting the patch instead.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37661