Jonathan Wakely wrote:
Sorry for the late reply. It does indeed fix the problem I saw with 4.0
on FreeBSD, but I'm now seeing this with 3.4.4 20050228 too, so I think
it's a regression introduced in the last 6 weeks or so.
Is the same fix safe to apply to 3.4?
Yes, it should also be safe for gcc-3.
On Mon, Feb 21, 2005 at 09:14:22PM -0800, James E Wilson wrote:
> Jonathan Wakely wrote:
> >$ gcc4x -c bug.c -pedantic -save-temps
> >bug.c: In function 'main':
> >bug.c:1: error: floating constant exceeds range of 'long double'
>
> This is easy enough to explain. Grepping for the message shows
Jonathan Wakely wrote:
$ gcc4x -c bug.c -pedantic -save-temps
bug.c: In function 'main':
bug.c:1: error: floating constant exceeds range of 'long double'
This is easy enough to explain. Grepping for the message shows that it
is printed from c-lex.c, and is only printed when -pedantic.
-save-temp
On Thu, Feb 17, 2005 at 01:22:30PM +, Jonathan Wakely wrote:
>
> I'm hoping someone knows what this is due to, can't see anything in bugzilla.
>
> $ cat bug.c
> long double f = __LDBL_MAX__;
> $ gcc4x -c bug.c
> $ gcc4x -c bug.c -pedantic -save-temps
> bug.c: In function 'main':
> bug.c:1: e
I'm hoping someone knows what this is due to, can't see anything in bugzilla.
$ cat bug.c
long double f = __LDBL_MAX__;
$ gcc4x -c bug.c
$ gcc4x -c bug.c -pedantic -save-temps
bug.c: In function 'main':
bug.c:1: error: floating constant exceeds range of 'long double'
I only get the error with -p