diff options
author | Nick Clifton <nickc@cygnus.com> | 1999-12-02 10:53:39 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 1999-12-02 10:53:39 +0000 |
commit | 574531f24574d21917a71200ce3ac7850c6d4595 (patch) | |
tree | 96c999b2c4f01f43f556036e4dd0525deaeb96c5 /gcc | |
parent | 94f9afc2ec218ff8eb354fc8f8c2d9e786d8c2b5 (diff) | |
download | gcc-574531f24574d21917a71200ce3ac7850c6d4595.zip gcc-574531f24574d21917a71200ce3ac7850c6d4595.tar.gz gcc-574531f24574d21917a71200ce3ac7850c6d4595.tar.bz2 |
remove compile time warnings about uninitilaised fileds
From-SVN: r30757
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/config/fp-bit.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c62927f..6f5959f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/fp-bit.c b/gcc/config/fp-bit.c index 0982541..d7bc3de 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 |