aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorJoseph Myers <jsm@polyomino.org.uk>2004-06-21 13:37:46 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2004-06-21 13:37:46 +0100
commitb40410b9083d960fa5ca34def27dc1c2ee61c077 (patch)
tree7b1da446bf66f5879b6e982e36c900e25860b6ec /gcc/java
parent3a5b9284da6acc309118a04dcba3a1cbca2ecdd4 (diff)
downloadgcc-b40410b9083d960fa5ca34def27dc1c2ee61c077.zip
gcc-b40410b9083d960fa5ca34def27dc1c2ee61c077.tar.gz
gcc-b40410b9083d960fa5ca34def27dc1c2ee61c077.tar.bz2
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
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog8
-rw-r--r--gcc/java/jcf.h6
-rw-r--r--gcc/java/lex.h8
-rw-r--r--gcc/java/parse.h2
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 */