It should not be very hard to fork gcc and make a quick hack that dumps the AST. You don't need the latest optimizations or AST versions, just a correct one, so there is no need to update it a lot (sans fixing bugs you created with the hack). You wont see at this point bogus ASTs generated by gcc.
Please elaborate.
I think what is being referred to Richard Stallman's rejection of AST-dumping support in gcc (which some have requested for IDE support of refactoring, etc.) on the grounds that such support could theoretically also aid proprietary tools that could avoid the GPL by just taking the AST output.
The political goals of the gcc people didn't exactly help here.