OSDN Git Service

remove compile time warnings about uninitilaised fileds
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Dec 1999 10:53:39 +0000 (10:53 +0000)
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Dec 1999 10:53:39 +0000 (10:53 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30757 138bc75d-0d04-0410-961f-82ee72b054a4

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

index c62927f..6f5959f 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 0982541..d7bc3de 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