This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: bootstrap/7143: real.c: In function `make_nan': `TFbignan' undeclared
- From: Neil Booth <neil at daikokuya dot co dot uk>
- To: neil at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 28 Jun 2002 06:26:01 -0000
- Subject: Re: bootstrap/7143: real.c: In function `make_nan': `TFbignan' undeclared
- Reply-to: Neil Booth <neil at daikokuya dot co dot uk>
The following reply was made to PR bootstrap/7143; it has been noted by GNATS.
From: Neil Booth <neil@daikokuya.co.uk>
To: John David Anglin <dave@hiauly1.hia.nrc.ca>
Cc: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org
Subject: Re: bootstrap/7143: real.c: In function `make_nan': `TFbignan' undeclared
Date: Fri, 28 Jun 2002 07:20:43 +0100
I've got a clue. You mentioned you were compiling with -pedantic.
Is DEC a built-in? If so, -pedantic won't define it because it's in
the user's namespace. If DEC is defined in a file, then it doesn't
matter of course.
We didn't used to get this stuff right, but if your target has been
converted to the new CPP builtins recently then we've suddenly
started getting it right and it's prevented your bootstrap.
Maybe real.c should not be -pedantic, or should check for __DEC__
too (assuming that's defined).
Neil.