aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorEd Schonberg <schonberg@adacore.com>2020-06-29 17:06:42 -0400
committerPierre-Marie de Rodat <derodat@adacore.com>2020-10-16 03:33:21 -0400
commit5742eed7a6e567c3fc28adea17d0788ea4be136f (patch)
tree8682c7f1cec3086e6b97ec3dc1c88ef6b0ab2625 /gcc/cp
parentd22f3eabf11d403a4885b986b33006d21dc431ba (diff)
downloadgcc-5742eed7a6e567c3fc28adea17d0788ea4be136f.zip
gcc-5742eed7a6e567c3fc28adea17d0788ea4be136f.tar.gz
gcc-5742eed7a6e567c3fc28adea17d0788ea4be136f.tar.bz2
[Ada] Attribute Img on derived types
gcc/ada/ * exp_imgv.adb (Expand_Image_Attribute): Use the base type instead of the root type when type of object is private. Remove Ada_2020 guard, because it has been checked during prior analysis. Use Underlying_Type in all cases, as it is a no-op on types that are not private.
Diffstat (limited to 'gcc/cp')
0 files changed, 0 insertions, 0 deletions