This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Patch: FYI: fixlet for last patch
- From: Tom Tromey <tromey at redhat dot com>
- To: GCC libjava patches <java-patches at gcc dot gnu dot org>
- Date: 23 Jul 2003 08:49:14 -0600
- Subject: Patch: FYI: fixlet for last patch
- Reply-to: tromey at redhat dot com
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();