From: Joseph Myers Date: Mon, 21 Jun 2004 12:37:46 +0000 (+0100) Subject: tree-alias-common.h (struct tree_alias_ops): Change ip and ip_partial to unsigned... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b40410b9083d960fa5ca34def27dc1c2ee61c077;p=gcc.git tree-alias-common.h (struct tree_alias_ops): Change ip and ip_partial to unsigned int. * tree-alias-common.h (struct tree_alias_ops): Change ip and ip_partial to unsigned int. fortran: * trans.h (stmtblock_t): Change has_scope to unsigned int. java: * 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. From-SVN: r83430 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 77f8f98e00c..17f767f5b09 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-06-21 Joseph S. Myers + + * tree-alias-common.h (struct tree_alias_ops): Change ip and + ip_partial to unsigned int. + 2004-06-21 Richard Henderson * c-common.c (verify_sequence_points): Export. diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 2348f28e030..5cbbc987dc0 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,7 @@ +2004-06-21 Joseph S. Myers + + * trans.h (stmtblock_t): Change has_scope to unsigned int. + 2004-06-20 Steven G. Kargl * arith.c (gfc_range_check): correct complex underflow. diff --git a/gcc/fortran/trans.h b/gcc/fortran/trans.h index 1c205ef0afd..c4d8df47d77 100644 --- a/gcc/fortran/trans.h +++ b/gcc/fortran/trans.h @@ -31,7 +31,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA typedef struct { tree head; - int has_scope:1; + unsigned int has_scope:1; } stmtblock_t; diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 3c2b1a2cf18..fff8cfe686a 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,11 @@ +2004-06-21 Joseph S. Myers + + * 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 Fixes PR java/13948 diff --git a/gcc/java/jcf.h b/gcc/java/jcf.h index 27e0761cf7d..09e2c1a2bc5 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 213a80f3c5d..9a7cad11a12 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 bedf70624d2..cf62dae8446 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 */ diff --git a/gcc/tree-alias-common.h b/gcc/tree-alias-common.h index bf3cfcb75cc..ec93ce3dad2 100644 --- a/gcc/tree-alias-common.h +++ b/gcc/tree-alias-common.h @@ -105,11 +105,11 @@ struct tree_alias_ops void *data; /* Interprocedural. */ - int ip:1; + unsigned int ip:1; /* Can do conservative interprocedural analysis if we save the * info. */ - int ip_partial:1; + unsigned int ip_partial:1; };