diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2021-07-01 18:02:47 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2021-07-01 18:13:12 +0200 |
commit | 506c68e25fb6aea135468972dbc9d8abf816a443 (patch) | |
tree | 6c96388efee6b8865f863cf3f9dcaa9cf24fd8d3 /gcc/input.c | |
parent | cdf4576b201aa81fd853b06242b16e4215ead5a9 (diff) | |
download | gcc-506c68e25fb6aea135468972dbc9d8abf816a443.zip gcc-506c68e25fb6aea135468972dbc9d8abf816a443.tar.gz gcc-506c68e25fb6aea135468972dbc9d8abf816a443.tar.bz2 |
Fix duplicate name issues in output of -fdump-ada-spec #2
This extends the type name conflict detection mechanism to variables.
gcc/c-family/
* c-ada-spec.c (check_name): Rename into...
(check_type_name_conflict): ...this. Minor tweak.
(dump_ada_function_declaration): Adjust to above renaming.
(dump_ada_array_domains): Fix oversight.
(dump_ada_declaration): Call check_type_name_conflict for variables.
Diffstat (limited to 'gcc/input.c')
0 files changed, 0 insertions, 0 deletions