This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch to prevent compile time warnings in fp-bit.c
- To: nickc at cygnus dot co dot uk
- Subject: Re: patch to prevent compile time warnings in fp-bit.c
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 01 Dec 1999 17:55:43 -0700
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <199912011809.SAA21180@pathia.cygnus.co.uk>you write:
> Hi Guys,
>
> The patch below removes a compile time warning about some fields in
> the definition of the NAN constants in fp-bit.c not being defined.
>
> Is it OK to apply this patch ?
>
> Cheers
> Nick
>
>
> 1999-12-01 Nick Clifton <nickc@cygnus.com>
>
> * config/fp-bit.c: Initialise all fields of the NAN
> constants.
This is fine.
Normally it would not be, but fp-bit is already using enough ANSI & GCC
extensions that I'm not worried about the ANSI dependency this patch
installs (exercise for the patch submitter, why does this patch depend on
ANSI behavior, no fair using -Wtraditional to find it :-)
Hmm, this probably is going to trigger warnings from -Wtraditional... Hmmm..
jeff