This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch: Boehm descriptor generation
- From: Andrew Haley <aph at redhat dot com>
- To: "John Neil" <jneil at atrove dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 17 Nov 2003 17:51:41 +0000
- Subject: Patch: Boehm descriptor generation
- References: <000001c3ac06$acd50a10$0100a8c0@RICHO>
John Neil writes:
> This patch fixes an error in the generation of the boehm descriptor when the
> offset to a pointer is not an integral number of sizeof(void*) which can
> happen in the alignment of fields is not the same as sizeof(void*).
Looks OK.
Can you please add a comment for alignment_error to say what it means?
"true if a field is a misaligned pointer, in which case this class
can't use bitmap descriptors" or somesuch. (This is a guess -- please
make your own comment.)
Also, what is your copyright assignment status?
Andrew.