diff options
author | nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-12-02 10:53:39 +0000 |
---|---|---|
committer | nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-12-02 10:53:39 +0000 |
commit | 8633565b0600f32a77161924cc25b2868b12e84b (patch) | |
tree | 96c999b2c4f01f43f556036e4dd0525deaeb96c5 /gcc | |
parent | b3564552b661118ccd0f6d1db244c52c409ea9b6 (diff) | |
download | ppe42-gcc-8633565b0600f32a77161924cc25b2868b12e84b.tar.gz ppe42-gcc-8633565b0600f32a77161924cc25b2868b12e84b.zip |
remove compile time warnings about uninitilaised fileds
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30757 138bc75d-0d04-0410-961f-82ee72b054a4
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 c62927f098d..6f5959fba5b 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 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 |