https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67304
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu.org --- Comment #2 from Manuel López-Ibáñez <manu at gcc dot gnu.org> --- (In reply to Iain Buclaw from comment #0) > However I am not too familiar with the awk files used in the process, so I'm > not sure how much of an undertaking this will be. >From my own experience, being familiar with awk is not really needed. You just need to figure out what C++ code you want to generate (options.c, options.h) and how it will interact with the rest of GCC. I will suggest that you actually prototype your changes directly hacking options.c and options.h, then you modify the awk scripts to generate that code. Modifying the scripts is not that complex, just printing the right things at the right place (probably our awk scripts can be very much cleaned up and optimized but it hasn't been an issue so far).