This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/52451] gcc w/i387 float generates fucom rather than fcom for floating point comparsons
- From: "bugdal at aerifal dot cx" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 15 Mar 2012 16:23:11 +0000
- Subject: [Bug target/52451] gcc w/i387 float generates fucom rather than fcom for floating point comparsons
- Auto-submitted: auto-generated
- References: <bug-52451-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52451
--- Comment #2 from Rich Felker <bugdal at aerifal dot cx> 2012-03-15 16:23:11 UTC ---
Try foo(NAN,NAN) and then check for the INVALID exception. It's not set.