This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/61319] The tests c-c++-common/ubsan/float-cast-overflow-(1|2|4).c fail on x86_64-apple-darwin*
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 26 May 2014 14:54:45 +0000
- Subject: [Bug target/61319] The tests c-c++-common/ubsan/float-cast-overflow-(1|2|4).c fail on x86_64-apple-darwin*
- Auto-submitted: auto-generated
- References: <bug-61319-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61319
--- Comment #3 from UroÅ Bizjak <ubizjak at gmail dot com> ---
http://stackoverflow.com/questions/8817164/signed-nan-values
If the sign bit in the underlying representation is set, this particular
implementation of printf prints -nan. There is no standard that says that it
has to, or that it shouldn't.