Small fix for -fdump-ada-spec
commit6071e495e5802a8949d2b02df6aa31a5f40f2af9
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 13 Jan 2023 21:11:32 +0000 (13 22:11 +0100)
committerEric Botcazou <ebotcazou@adacore.com>
Fri, 13 Jan 2023 21:15:20 +0000 (13 22:15 +0100)
tree2074c34fca81ecf8e89b522caa96146a2c5ecc3e
parent4fa6845b4b29f33cc7ea3d8ff49b61bb1f460561
Small fix for -fdump-ada-spec

This is needed to support the _Float32 and _Float64 types.

gcc/c-family/
* c-ada-spec.cc (is_float32): New function.
(is_float64): Likewise.
(is_float128): Tweak.
(dump_ada_node) <REAL_TYPE>: Call them to recognize more types.
gcc/c-family/c-ada-spec.cc