This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/35523] Wrong result for constant float expression
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Mar 2008 15:12:14 -0000
- Subject: [Bug c/35523] Wrong result for constant float expression
- References: <bug-35523-15886@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from rguenth at gcc dot gnu dot org 2008-03-10 15:12 -------
gcc-4.3 -o t t.i
./t
sin(cos(tan(PI/2))) = -0.280611
gcc-4.3 -o t t.i -fno-builtin -lm
./t
sin(cos(tan(PI/2))) = -0.280611
works for me?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35523