This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[gcc-in-cxx] Restore bootstrap


I committed this patch to the gcc-in-cxx branch to restore bootstrap
by avoiding a warning about a signed/unsigned comparison.  I have not
yet looked into why there are signed/unsigned differences for enum
types between the C and C++ frontends.

Ian


2009-06-09  Ian Lance Taylor  <ian@airs.com>

	* jcf-parse.c (handle_constant): Change kind to int.


Index: java/jcf-parse.c
===================================================================
--- java/jcf-parse.c	(revision 148329)
+++ java/jcf-parse.c	(working copy)
@@ -498,7 +498,7 @@
 static uint16
 handle_constant (JCF *jcf, int index, enum cpool_tag purpose)
 {
-  unsigned int kind;
+  int kind;
   CPool *cpool = cpool_for_class (output_class);
   
   if (index == 0)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]