This is the mail archive of the
mailing list for the GCC project.
[Bug bootstrap/25002] build breaks if no `NAN'
- From: "gin at mo dot msk dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Nov 2005 18:08:32 -0000
- Subject: [Bug bootstrap/25002] build breaks if no `NAN'
- References: <email@example.com/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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
Still think that allowing to disable use of `NAN' is not needed?