diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2022-07-19 20:55:05 +0200 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2022-09-06 09:14:23 +0200 |
commit | e2909e105d26a13b860d071f7491923f318f999c (patch) | |
tree | 093cedee04857bf1b61248f8c0405f77cd8c8b13 /gcc/ada/gcc-interface/trans.cc | |
parent | a80e0583973cb1664adf663d499c43c0425018b6 (diff) | |
download | gcc-e2909e105d26a13b860d071f7491923f318f999c.zip gcc-e2909e105d26a13b860d071f7491923f318f999c.tar.gz gcc-e2909e105d26a13b860d071f7491923f318f999c.tar.bz2 |
[Ada] Fix missing name for access type in generic instantiation
Pointer types aren't named types in C so we need to take extra care in Ada
to make sure that the name of access types is preserved.
gcc/ada/
* gcc-interface/utils.cc (gnat_pushdecl): Preserve named
TYPE_DECLs consistently for all kind of pointer types.
Diffstat (limited to 'gcc/ada/gcc-interface/trans.cc')
0 files changed, 0 insertions, 0 deletions