On Sep 4, 2013, at 7:09 AM, Jan Hubicka <hubi...@ucw.cz> wrote: > Making gengtype to generate ggc_mark for each type would make hand writting > easier - you can use C++ overloading instead of trying to guess the funny > names gengtype uses right now. > But that is independent of this change. I am slowly getting used to the > world of hand written gengtype markings.
I'd rather plugin generated code that applies general rules to the transitive closure of all types needed. The markings would be for exceptions to those rules, which should be very, very rare. The load for someone writing and maintaining code is then reduced and the fear of GTY doesn't play a role in activities such as refactoring, as there would be nothing to do. I know it, and I have a healthy fear of it. :-)