[Gc] Using the GC w/ common x86 compilers.

Bruce Hoult bruce at hoult.org
Mon Jul 23 21:47:43 PDT 2007

On 7/24/07, Dave <davejf at frontiernet.net> wrote:
> - Are there any known compiler optimization issues that break the GC
> with any of the above?
> - Do any of them (by default) align pointers and/or pack struct / class
> pointer members such that it would break the GC?

If they do, all you have to do is detect that compiler in
include/private/gcconfig.h and  #define ALIGNMENT 1 (or whatever it

It will make scanning several times slower and increase the chance of
false positives, but it will work.

More information about the Gc mailing list