[Ada] Put_Image: Enable for access-to-subprogram types
authorBob Duff <duff@adacore.com>
Mon, 30 Mar 2020 19:34:28 +0000 (15:34 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 15 Jun 2020 08:04:25 +0000 (04:04 -0400)
commit6a920eb51077cd465472eabb24a49b3e4ca30e93
tree1b216d0340468657aafd593d64c028844b310336
parent6349cf36d8bb7fb83f67a7bc27fc67dca73b19dd
[Ada] Put_Image: Enable for access-to-subprogram types

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

gcc/ada/

* exp_put_image.adb, libgnat/s-putima.adb, libgnat/s-putima.ads,
rtsfind.ads: Enable Put_Image if Is_Access_Subprogram_Type (Typ).
Remove comment saying it's disabled in that case.  Rename
Put_Image_Access_Prot to be Put_Image_Access_Prot_Subp to
clarify that we're talking about access-to-subprogram, not
access-to-protected-object.
gcc/ada/exp_put_image.adb
gcc/ada/libgnat/s-putima.adb
gcc/ada/libgnat/s-putima.ads
gcc/ada/rtsfind.ads