This is needed to support the _Float32 and _Float64 types.
Tested on x86-64/Linux, applied on the mainline.
2023-01-13 Eric Botcazou
c-family/
* c-ada-spec.cc (is_float32): New function.
(is_float64): Likewise.
(is_float128): Tweak.
(dump_ada_node) : Call them
The translation of a pointer to constant value was lacking the package prefix.
Tested on x86_64-suse-linux, applied on the mainline.
2018-10-01 Eric Botcazou
* c-ada-spec.c (get_underlying_decl): Get to the main type variant.
(dump_ada_node): Add const keyword.
--
Eric Botc
It's not a regression but the change is really straightforward.
Tested x86-64/Linux, applied on the mainline.
2018-03-20 Eric Botcazou
c-family/
* c-ada-spec.c (pp_ada_tree_identifier): Deal specifically with _Bool.
--
Eric BotcazouIndex: c-ada-spec.c
==
The recent introduction of virtual locations revealed a weak spot in the
implementation of -fdump-ada-spec.
Tested on x86_64-suse-linux, applied on the mainline as obvious.
2012-10-18 Eric Botcazou
* c-ada-spec.c (LOCATION_COL): Delete.
(compare_location): New function.