aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2ctf.cc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2022-08-16 17:54:59 +0200
committerMarc Poulhiès <poulhies@adacore.com>2022-09-06 09:14:23 +0200
commitef12e74ce7b1b00cce13d27e1273656926a4a25d (patch)
tree183ec421e996f3b726fd5d286355b121a0fa5703 /gcc/dwarf2ctf.cc
parente2909e105d26a13b860d071f7491923f318f999c (diff)
downloadgcc-ef12e74ce7b1b00cce13d27e1273656926a4a25d.zip
gcc-ef12e74ce7b1b00cce13d27e1273656926a4a25d.tar.gz
gcc-ef12e74ce7b1b00cce13d27e1273656926a4a25d.tar.bz2
[Ada] Fix internal error on double renaming of private constant
The first renaming uses the type of the full view of the constant but not the second, which introduces problematic view conversions downstream. gcc/ada/ * gcc-interface/trans.cc (Full_View_Of_Private_Constant): New function returning the Full_View of a private constant, after looking through a chain of renamings, if any. (Identifier_to_gnu): Call it on the entity. Small cleanup.
Diffstat (limited to 'gcc/dwarf2ctf.cc')
0 files changed, 0 insertions, 0 deletions