diff options
author | Ed Schonberg <schonberg@adacore.com> | 2020-06-29 17:06:42 -0400 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-10-16 03:33:21 -0400 |
commit | 5742eed7a6e567c3fc28adea17d0788ea4be136f (patch) | |
tree | 8682c7f1cec3086e6b97ec3dc1c88ef6b0ab2625 /gcc/cp | |
parent | d22f3eabf11d403a4885b986b33006d21dc431ba (diff) | |
download | gcc-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