diff options
author | Arnaud Charlet <charlet@adacore.com> | 2010-08-04 15:50:10 +0000 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2010-08-04 17:50:10 +0200 |
commit | 3b0c690efc298363b4043746b058852fdafc5799 (patch) | |
tree | c5e2853f537f5deab584b38d7d37a62b66a386d0 /gcc/fortran/resolve.c | |
parent | 55e3bc4cec7595280c4a69b258cafd887b6d9684 (diff) | |
download | gcc-3b0c690efc298363b4043746b058852fdafc5799.zip gcc-3b0c690efc298363b4043746b058852fdafc5799.tar.gz gcc-3b0c690efc298363b4043746b058852fdafc5799.tar.bz2 |
c-ada-spec.c (dump_ada_template): Mark underlying instance type as visited.
* c-ada-spec.c (dump_ada_template): Mark underlying instance type as
visited.
(dump_generic_ada_node): Code clean up. Use TREE_VISITED flag to
decide whether a type has already been declared/seen.
Do not go to the original type.
(dump_nested_types): New parameter forward.
Generate forward declaration if needed and mark type as visited.
(print_ada_declaration): Call dump_nested_types if not already done.
Mark types as visited.
From-SVN: r162868
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions