This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/50724] isnan broken by -ffinite-math-only in g++
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 14 Oct 2011 14:47:18 +0000
- Subject: [Bug libstdc++/50724] isnan broken by -ffinite-math-only in g++
- Auto-submitted: auto-generated
- References: <bug-50724-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50724
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-10-14 14:47:18 UTC ---
(In reply to comment #0)
> if they are testing for 'bad' values (e.g. isnan), that's probably significant
> -- otherwise the user wouldn't have added the classification calls to their
> code in the first place.
if they are compiling with -ffinite-math-only (i.e. asserting no NaN arguments
or results), that's probably significant -- otherwise the user wouldn't have
added the switch to their compilation command in the first place.