ada: Put_Image aspect spec incorrectly not inherited
authorSteve Baird <baird@adacore.com>
Tue, 11 Oct 2022 22:21:39 +0000 (15:21 -0700)
committerMarc Poulhiès <poulhies@adacore.com>
Mon, 7 Nov 2022 08:36:31 +0000 (09:36 +0100)
commit748976cfc867cb387f0f8180c48233e883223f93
tree0a65d7ceb3c4e4394062131d6a2d5b837128514f
parentae3952715ce92cb6baac6d2b883c9a29a70cb1d9
ada: Put_Image aspect spec incorrectly not inherited

In some cases, a Put_Image aspect specification for a scalar type was not
correctly inherited by a descendant of that type.

gcc/ada/

* exp_put_image.adb
(Image_Should_Call_Put_Image): Correctly handle the case of an
inherited Put_Image aspect specification for a scalar type.
gcc/ada/exp_put_image.adb