This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/31394] cos() returns wrong value unless -O0 is used
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 19 Jan 2012 05:01:17 +0000
- Subject: [Bug target/31394] cos() returns wrong value unless -O0 is used
- Auto-submitted: auto-generated
- References: <bug-31394-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31394
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-19 05:01:17 UTC ---
This is a bug in Solaris's libc where sincos does not produce the same results
as sin() and cos() separately would.