[patch, fortran] make fortran dumps more readable
Thomas Koenig
tkoenig@netcologne.de
Tue Nov 2 22:30:00 GMT 2010
Hello world,
this patch makes the Fortran dumps easier to read. Most of the work was
done by Paul, with some changes by me. Any errors and omissions are
mine, of course.
OK for trunk if regression-testing turns up nothing (which is really to
be expected)?
Thomas
2010-10-31 Thomas Koenig <tkoenig@gcc.gnu.org>
Paul Thomas <pault@gcc.gnu.org>
* dump-parse-tree.c (code_indent): Take label into acount
when calculating indent.
(show_typespec): Also display class.
(show_attr): Add module name to argument.
Don't show UNKNOWN for flavor, access and save. Don't show
SAVE_NONE. Don't show INTENT_UNKNOWN. Show module for use
association. Show intent only for dummy arguments.
Set length of shown symbol names to minimum of 12.
Show attributes header.
(show_symbol): Adjust show_level.
(show_symtree): Clear up display for ambiguous. Show if symbol
was imported from namespace.
(show_code_node): Clear up indenting. Traverse symtree and
show code directly instead of calling show_namespace.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p3.diff
Type: text/x-patch
Size: 7893 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20101102/b1679016/attachment.bin>
More information about the Gcc-patches
mailing list