[c-family] Fix issue for external subtypes with -fdump-ada-spec
Eric Botcazou
botcazou@adacore.com
Thu Jun 3 15:51:10 GMT 2021
This works around an irregularity of the language whereby subtypes, unlike
types, are not visible through a limited_with clause.
Tested on x86-64/Linux, applied on the mainline.
2021-06-03 Eric Botcazou <ebotcazou@adacore.com>
c-family/
* c-ada-spec.c (pp_ada_tree_identifier): Tidy up.
(dump_ada_node) <POINTER_TYPE>: Deal specially with external subtypes.
--
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-patch
Size: 3726 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210603/2b7a3b69/attachment.bin>
More information about the Gcc-patches
mailing list