From 574531f24574d21917a71200ce3ac7850c6d4595 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 2 Dec 1999 10:53:39 +0000 Subject: [PATCH] remove compile time warnings about uninitilaised fileds From-SVN: r30757 --- gcc/ChangeLog | 3 +++ gcc/config/fp-bit.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c62927f098d..6f5959fba5b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 1999-12-02 Nick Clifton + * 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. diff --git a/gcc/config/fp-bit.c b/gcc/config/fp-bit.c index 09825416786..d7bc3de38f4 100644 --- a/gcc/config/fp-bit.c +++ b/gcc/config/fp-bit.c @@ -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 -- 2.30.2