Diego Novillo wrote: > === Approach: Move GTY to cc1plus. > > Instead of a separate weak parser, we would make cc1plus understand GTY > attributes. The compiler would emit IL in the object files instead of > generating source.
Does this mean GTY is implemented as a C++ language extension and the generated code cares for whaterer is needed automatically, e.g. might need support of something like a libgty++ support library? Johann > This solution would require a first boot stage that did not support PCH, > because we cannot rely on the seed compiler supporting GTY. We would > probably need to use the Boehm collector during the first stage as well. > > Because the first stage would be fundamentally different from the second > stage, we may need to add an additional pass for correct object file > comparisons.