[Ada] Put_Image: Enable for access-to-subprogram types
authorBob Duff <duff@adacore.com>
Mon, 30 Mar 2020 14:18:34 +0000 (10:18 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 15 Jun 2020 08:04:23 +0000 (04:04 -0400)
commitbfdb362c000c1502ca4757bb7e5ce5cb42a6a5ae
treecd959190cea65f1ed1d2ba126aca9c3ca04d996e
parent3dd1cc4a05f57e0d65435a055d532e699c574403
[Ada] Put_Image: Enable for access-to-subprogram types

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

gcc/ada/

* libgnat/s-putima.ads, libgnat/s-putima.adb
(Put_Image_Access_Subp, Put_Image_Access_Prot): New procedures
for printing access-to-subprogram objects.  Remove an explicit
" ", because Put_Image includes the annoying leading blank.
* rtsfind.ads: Add new procedures in s-putima.
* exp_put_image.adb: Call new procedures as appropriate.
gcc/ada/exp_put_image.adb
gcc/ada/libgnat/s-putima.adb
gcc/ada/libgnat/s-putima.ads
gcc/ada/rtsfind.ads