remove compile time warnings about uninitilaised fileds
authorNick Clifton <nickc@cygnus.com>
Thu, 2 Dec 1999 10:53:39 +0000 (10:53 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Thu, 2 Dec 1999 10:53:39 +0000 (10:53 +0000)
From-SVN: r30757

gcc/ChangeLog
gcc/config/fp-bit.c

index c62927f098d497c5b29049295ba61ba30a1477ba..6f5959fba5bfa51ade6e4811d5efb959f459afb3 100644 (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.
 
index 098254167867fece5a8274c76952626159a9ada8..d7bc3de38f4ad3b88e60515ee9aaeda0baa7b990 100644 (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