[Ada] Do not generate encodings for fixed-point types by default

gcc/ada/

	* exp_dbug.adb (Get_Encoded_Name): Generate encodings for fixed
	point types only if -fgnat-encodings=all is specified.
This commit is contained in:
Eric Botcazou 2020-12-01 20:18:12 +01:00 committed by Pierre-Marie de Rodat
parent f6219730a1
commit 211d0b4f03

View File

@ -648,7 +648,7 @@ package body Exp_Dbug is
-- Fixed-point case: generate GNAT encodings when asked to
if Is_Fixed_Point_Type (E)
and then GNAT_Encodings /= DWARF_GNAT_Encodings_Minimal
and then GNAT_Encodings = DWARF_GNAT_Encodings_All
then
Get_External_Name (E, True, "XF_");
Add_Real_To_Buffer (Delta_Value (E));