]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix issue for external subtypes with -fdump-ada-spec
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 3 Jun 2021 15:50:44 +0000 (17:50 +0200)
committerEric Botcazou <ebotcazou@adacore.com>
Thu, 3 Jun 2021 15:56:59 +0000 (17:56 +0200)
commit517155ceb971d33881cfeecd767406f0801c6512
tree53273eba49e65c91edd7c3fa3c0b34b252c99b77
parent5f2ef25b08f782a9f72adb8e6389ce66d302594b
Fix issue for external subtypes with -fdump-ada-spec

This works around an irregularity of the language whereby subtypes, unlike
types, are not visible through a limited_with clause.

gcc/c-family/
* c-ada-spec.c (pp_ada_tree_identifier): Tidy up.
(dump_ada_node) <POINTER_TYPE>: Deal specially with external subtypes.
gcc/c-family/c-ada-spec.c