[Ada] Put_Image attribute
authorBob Duff <duff@adacore.com>
Mon, 16 Mar 2020 19:22:25 +0000 (15:22 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 11 Jun 2020 09:53:46 +0000 (05:53 -0400)
commitd84eb7c511b163473c272f846905631fc4a66a52
treeef26496bde4a19d9e606175bdab80d84688504d7
parent428d49a5a8d3f39b14519ada0ab46c4193581684
[Ada] Put_Image attribute

2020-06-11  Bob Duff  <duff@adacore.com>

gcc/ada/

* exp_put_image.adb (Build_Elementary_Put_Image_Call): If the
underlying type is real, call Put_Image_Unknown.
(Build_Unknown_Put_Image_Call): Pass the type name to
Put_Image_Unknown.
* libgnat/s-putima.ads, libgnat/s-putima.adb
(Put_Image_Unknown): Add Type_Name parameter.  Remove
overly-detailed documentation of what it does; better to leave
it open.
gcc/ada/exp_put_image.adb
gcc/ada/libgnat/s-putima.adb
gcc/ada/libgnat/s-putima.ads