On Tue, Oct 25, 2016 at 03:33:36PM +0200, Richard Biener wrote: > > Hi, > > so I did the massaging to split out the GIMPLE parsing routines out > to a separate file (quite tricky to get the gengtype issues correctly > so I thought to help out here and get things started).
actually it looks like you didn't get the gengtype issues quiet right :( stage 1 is fine, but when doing a bootstrap stage 2 dies trying to build cc1obj. That's because objc pulls in c-parser.o, but not c-lang.o which means that the gengtype routines for c_parser which are in gt-c-c-parser.h (included by c-parser.c) are included in cc1obj, but the routines for vec<c_token_, va_gc> are not because they get put in gengtype-c.h which is included in c-lang.c. Unfortunately I'm not sure how to fix that off hand. Killing pch and moving c_parser out of gc memory would of course be one answer, but that's a rather massive hammer to use. Trev