This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/31394] cos() returns wrong value unless -O0 is used



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]