diff options
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/java/jcf.h | 6 | ||||
-rw-r--r-- | gcc/java/lex.h | 8 | ||||
-rw-r--r-- | gcc/java/parse.h | 2 |
4 files changed, 16 insertions, 8 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 3c2b1a2..fff8cfe 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,11 @@ +2004-06-21 Joseph S. Myers <jsm@polyomino.org.uk> + + * jcf.h (struct JCF): Change java_source, right_zip and finished + to unsigned int. + * lex.h (struct java_lexer): Change hit_eof, read_anything, + byte_swap and use_fallback to unsigned int. + * parse.h (struct _jdep): Change flag0 to unsigned int. + 2004-06-17 Ranjit Mathew <rmathew@hotmail.com> Fixes PR java/13948 diff --git a/gcc/java/jcf.h b/gcc/java/jcf.h index 27e0761..09e2c1a 100644 --- a/gcc/java/jcf.h +++ b/gcc/java/jcf.h @@ -106,9 +106,9 @@ typedef struct JCF GTY(()) { unsigned char * GTY ((skip)) buffer_end; unsigned char * GTY ((skip)) read_ptr; unsigned char * GTY ((skip)) read_end; - int java_source : 1; - int right_zip : 1; - int finished : 1; + unsigned int java_source : 1; + unsigned int right_zip : 1; + unsigned int finished : 1; jcf_filbuf_t filbuf; PTR GTY ((skip)) read_state; const char *filename; diff --git a/gcc/java/lex.h b/gcc/java/lex.h index 213a80f..9a7cad1 100644 --- a/gcc/java/lex.h +++ b/gcc/java/lex.h @@ -115,7 +115,7 @@ struct java_lexer unicode_t unget_value; /* If nonzero, we've hit EOF. Used only by java_get_unicode(). */ - int hit_eof : 1; + unsigned int hit_eof : 1; /* Name of the character encoding we're using. */ const char *encoding; @@ -123,13 +123,13 @@ struct java_lexer #ifdef HAVE_ICONV /* Nonzero if we've read any bytes. We only recognize the byte-order-marker (BOM) as the first word. */ - int read_anything : 1; + unsigned int read_anything : 1; /* Nonzero if we have to byte swap. */ - int byte_swap : 1; + unsigned int byte_swap : 1; /* Nonzero if we're using the fallback decoder. */ - int use_fallback : 1; + unsigned int use_fallback : 1; /* The handle for the iconv converter we're using. */ iconv_t handle; diff --git a/gcc/java/parse.h b/gcc/java/parse.h index bedf706..cf62dae 100644 --- a/gcc/java/parse.h +++ b/gcc/java/parse.h @@ -479,7 +479,7 @@ enum jdep_code { typedef struct _jdep { ENUM_BITFIELD(jdep_code) kind : 8; /* Type of patch */ - int flag0 : 1; /* Some flags */ + unsigned int flag0 : 1; /* Some flags */ tree decl; /* Tied decl/or WFL */ tree solv; /* What to solve */ tree wfl; /* Where thing to resolve where found */ |