[Bug java/13021] GCJ Boehm descriptor may be incorrect if alignment != sizeof(void*)
tromey at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Apr 12 17:42:00 GMT 2006
------- Comment #2 from tromey at gcc dot gnu dot org 2006-04-12 17:42 -------
I don't have a convenient way to test a fix for this.
But it does not look very hard to fix... just adding
an extra check in boehm.c:mark_reference_fields.
Note that the corresponding code in libgcj already seems
to handle this case:
// If we run into a weird situation, we bail.
if (off % sizeof (void *) != 0)
return (void *) (GCJ_DEFAULT_DESCR);
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13021
More information about the Java-prs
mailing list