[Ada] Put_Image: Enable for access-to-subprogram types

Pierre-Marie de Rodat derodat@adacore.com
Mon Jun 15 08:05:22 GMT 2020


Implement Put_Image for access-to-subprogram, including
access-to-protected-subprogram, and enable.

Tested on x86_64-pc-linux-gnu, committed on trunk

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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 4495 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200615/59caad21/attachment.bin>


More information about the Gcc-patches mailing list