This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/50032] Bad optimization with sin/cos
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 12 Aug 2011 15:10:51 +0000
- Subject: [Bug c/50032] Bad optimization with sin/cos
- Auto-submitted: auto-generated
- References: <bug-50032-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50032
--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-08-12 15:10:51 UTC ---
> if your math library implementation has a slower cosf than cos it's
> definitely broken ;)
So it is at least for fedora (see
http://sources.redhat.com/bugzilla/show_bug.cgi?id=5997
http://sourceware.org/bugzilla/show_bug.cgi?id=5781
https://bugzilla.redhat.com/show_bug.cgi?id=521190 and pr34128).
I suspect it is for most (all?) linux libraries (I am not in position to check
it, but the above pointer will allow anyone interested to see by
her/himself;-).