* c-ada-spec.c (get_underlying_decl): Return the typedef, if any.
commit021ad2f39da9b80b7d682872df3e9f39ea38e3fa
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Apr 2016 17:38:28 +0000 (17 17:38 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Apr 2016 17:38:28 +0000 (17 17:38 +0000)
tree04e24f7d9984ce6f942a4c2471692d0faa329225
parentf1dc3c5a61530f07c4fe71f74f6354f319fbec85
* c-ada-spec.c (get_underlying_decl): Return the typedef, if any.
(dump_generic_ada_node) <POINTER_TYPE>: Clean up handling of access
to incomplete types.
(dump_nested_type): Remove redundant tests and tidy up.
(print_ada_declaration): Also set TREE_VISITED on the declaration of
a type which is the typedef of an original type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235084 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c-family/ChangeLog
gcc/c-family/c-ada-spec.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/dump-ada-spec-3.c [new file with mode: 0644]
gcc/testsuite/c-c++-common/dump-ada-spec-4.c [new file with mode: 0644]