[Ada] Bug in Enum_Subtype'Image in Ada 2020 mode
authorBob Duff <duff@adacore.com>
Thu, 18 Jun 2020 13:10:33 +0000 (09:10 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 27 Jul 2020 08:05:20 +0000 (04:05 -0400)
commit116e8b669eddc96b0294c6cf114372a0d346072e
tree8d64e9f782c1226e867bccfdf3347b57115d695b
parentf35bd40944ebf835459b7666abc22c92590e6129
[Ada] Bug in Enum_Subtype'Image in Ada 2020 mode

gcc/ada/

* exp_imgv.adb (Expand_Image_Attribute): Add Root_Type, so
constrained subtypes work.
gcc/ada/exp_imgv.adb