This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java 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]

Patch: FYI: fixlet for last patch


I'm checking this in on the trunk.

Jeff Sturm pointed out to me that this is needed.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	* boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.

Index: boehm.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/boehm.cc,v
retrieving revision 1.38
diff -u -r1.38 boehm.cc
--- boehm.cc 23 Jul 2003 09:53:53 -0000 1.38
+++ boehm.cc 23 Jul 2003 14:47:20 -0000
@@ -357,7 +357,7 @@
 	      // fall back to procedure marker.
 	      if (off > CHAR_BIT * sizeof (void *))
 		return (void *) (GCJ_DEFAULT_DESCR);
-	      desc |= 1 << off;
+	      desc |= 1ULL << off;
 	    }
 
 	  field = field->getNextField();


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