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 bootstrap/25002] build breaks if no `NAN'



------- Comment #4 from gin at mo dot msk dot ru  2005-11-23 18:08 -------
Subject: Re:  build breaks if no `NAN'

Know at least one more system that has no `NAN' and which native `cc'
normally generates code that causes program to terminate abnormally:

Arithmetic Exception (core dumped)

The system is i586-pc-sco3.2v5.0.2.  When specified `-K noieee', `(
0.0 / 0.0 )' static initializer works and generates value that is
converted by `printf' to `0.000000'.  Unlikely to make much sense.
Perhaps other systems have other tricky options, with unpredictable
results.

Still think that allowing to disable use of `NAN' is not needed?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25002


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