This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/31394] cos() returns wrong value unless -O0 is used
- From: "sdirkse at gams dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Mar 2007 16:55:49 -0000
- Subject: [Bug c/31394] cos() returns wrong value unless -O0 is used
- References: <bug-31394-14147@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from sdirkse at gams dot com 2007-03-29 17:55 -------
Created an attachment (id=13297)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13297&action=view)
test case for the bug
Building with
gcc -m64 -O1 -o xxx cosbug.i -lm
shows the bug bug
gcc -m64 -o xxx cosbug.i -lm
is OK. I observe the bug also with -O2 and -O3
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31394