remove compile time warnings about uninitilaised fileds

From-SVN: r30757
This commit is contained in:
Nick Clifton 1999-12-02 10:53:39 +00:00 committed by Nick Clifton
parent 94f9afc2ec
commit 574531f245
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
1999-12-02 Nick Clifton <nickc@cygnus.com>
* config/fp-bit.c: Initialise all fields of the NAN
constants.
* c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
to HANDLE_PRAGMA.

View File

@ -395,9 +395,9 @@ FLO_union_type;
#else
#if defined L_thenan_sf
const fp_number_type __thenan_sf = { CLASS_SNAN };
const fp_number_type __thenan_sf = { CLASS_SNAN, 0, 0, (fractype) 0 };
#elif defined L_thenan_df
const fp_number_type __thenan_df = { CLASS_SNAN };
const fp_number_type __thenan_df = { CLASS_SNAN, 0, 0, (fractype) 0 };
#elif defined FLOAT
extern const fp_number_type __thenan_sf;
#else