* Sebastian Pop: > Steve Ellcey wrote: >> >> In the meantime I would be interested in any opinions people have on >> what level we should be writing things out at. Generic? Gimple? RTL? > > Or just dumping plain C code? This is almost what the pretty printers > are doing, and the way back to the compiler is already there ;-)
Some front ends generate trees which cannot be generated by any C program. It might be possible to add some extensions (which would also help to come up with C test cases for bugs which are currently exposed by non-C front ends only), and this might even ease concerns that an ISO C backend might make it possible to use GCC as a library. But I think it's still better to use some binary serialized IL, just to discourage external reuse and make clear that it's an internal format, subject to frequent changes.