aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/module.cc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2024-05-23 18:26:12 +0200
committerEric Botcazou <ebotcazou@adacore.com>2024-05-23 18:28:01 +0200
commit0b3b6a8df77b0ae15078402ea5fb933d6fccd585 (patch)
tree711fd18ab9c2fed6a97a2eaecbe7612f7f6d9737 /gcc/cp/module.cc
parentdca3e6b9049ff3c1432d4717ca2309e7aad20447 (diff)
downloadgcc-0b3b6a8df77b0ae15078402ea5fb933d6fccd585.zip
gcc-0b3b6a8df77b0ae15078402ea5fb933d6fccd585.tar.gz
gcc-0b3b6a8df77b0ae15078402ea5fb933d6fccd585.tar.bz2
Another small fix to implementation of -fdump-ada-spec
This avoids generating invalid Ada code for function with a multidimensional array parameter and also cleans things up left and right. gcc/c-family/ * c-ada-spec.cc (check_type_name_conflict): Add guard. (is_char_array): Simplify. (dump_ada_array_type): Use strip_array_types. (dump_ada_node) <POINTER_TYPE>: Deal with anonymous array types. (dump_nested_type): Use strip_array_types.
Diffstat (limited to 'gcc/cp/module.cc')
0 files changed, 0 insertions, 0 deletions