A question about tree-pretty-printing

Robert Dewar dewar@gnat.com
Mon Jun 28 14:25:00 GMT 2004


Paul Brook wrote:

> The Fortran frontend doesn't use the tree pretty-printer. We generate all 
> error messages before generating GENERIC trees. For debugging purposes I 
> prefer the output look like C.

Same for GNAT. Note that Ada also has the -gnatG switch which converts 
the expanded GNAT tree back into Ada pseudo-source, which is useful
to both implementors and users. For debugging back end stuff, I think it
is fine for output to look like C.



More information about the Gcc mailing list