This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r162868 - in /trunk/gcc/c-family: ChangeLog c-a...
- From: charlet at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 04 Aug 2010 15:50:11 -0000
- Subject: r162868 - in /trunk/gcc/c-family: ChangeLog c-a...
Author: charlet
Date: Wed Aug 4 15:50:10 2010
New Revision: 162868
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162868
Log:
* 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.
Modified:
trunk/gcc/c-family/ChangeLog
trunk/gcc/c-family/c-ada-spec.c