This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/52479] SH Target: SH4A DFmode fsca tests failing
- From: "kkojima at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 16 Mar 2012 03:21:08 +0000
- Subject: [Bug target/52479] SH Target: SH4A DFmode fsca tests failing
- Auto-submitted: auto-generated
- References: <bug-52479-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52479
--- Comment #3 from Kazumoto Kojima <kkojima at gcc dot gnu.org> 2012-03-16 03:21:08 UTC ---
There is no concrete definition of -ffast-math and users will have
different expectations. Numerical programs for astrodynamics may
expect precisions even for -ffast-math and OTOH there are many
programs which don't take care of precisions at all and prefer
sin&cos instead of sinf&cosf. I guess that the former doesn't make
much sense for SH4A in the first place and for users of the latter
with -ffast-math, the proposed change may be a bit surprising.
I have no strong opinion for this, though. I also won't object to
the suggested patch.