[Ada] Use encoded names only with -fgnat-encodings=all

Pierre-Marie de Rodat derodat@adacore.com
Thu Jul 8 13:50:39 GMT 2021


This disables the last special encoding done in Get_Encoded_Name, except
when -fgnat-encodings=all is passed on the command line.

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

gcc/ada/

	* exp_dbug.adb (Get_Encoded_Name): Do not encode names of discrete
	types with custom bounds, except with -fgnat-encodings=all.
	* exp_pakd.adb (Create_Packed_Array_Impl_Type): Adjust comment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 1833 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210708/dc65efd9/attachment.bin>


More information about the Gcc-patches mailing list