c-ada-spec.c: Include stringpool.h.
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 27 Nov 2018 10:37:20 +0000 (10:37 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 27 Nov 2018 10:37:20 +0000 (10:37 +0000)
commitda193a2713d34358d564c9fd5b5347d7bc2cc150
tree0cb2327e80f2b6e3ed55fd667aad9beb6962e463
parent6d760a0197ece131619ac88f0fe34ce452fd774c
c-ada-spec.c: Include stringpool.h.

* c-ada-spec.c: Include stringpool.h.
(has_static_fields): Return false for incomplete types.
(is_tagged_type): Likewise.
(has_nontrivial_methods): Likewise.
(dump_ada_node) <INTEGER_TYPE>: Deal specifically with __int128.
(struct overloaded_name_hash): New structure.
(struct overloaded_name_hasher): Likewise.
(overloaded_names): New global variable.
(init_overloaded_names): New static function.
(overloaded_name_p): New predicate.
(dump_ada_declaration) <TYPE_DECL>: Tidy up and set TREE_VISITED
on the TYPE_STUB_DECL of the original type of a typedef, if any.
<FUNCTION_DECL>: Bail out for an unsupported overloaded name.
Remove always-true condition and dump forward types.
(dump_ada_specs): Delete overloaded_names.

From-SVN: r266506
gcc/c-family/ChangeLog
gcc/c-family/c-ada-spec.c