Hi,
the Ada language supports fixed-point types as first-class citizens so they
need to be described as-is in the debug info. Pierre-Marie devised the
langhook get_fixed_point_type_info for this purpose a few years ago, but it
comes with a limitation for the representation of the scale factor
On 11/11/20 4:25 PM, Eric Botcazou wrote:
> Hi,
>
> the Ada language supports fixed-point types as first-class citizens so they
> need to be described as-is in the debug info. Pierre-Marie devised the
> langhook get_fixed_point_type_info for this purpose a few years ago, but it
> comes with a
> 2020-11-11 Eric Botcazou
>
> * exp_dbug.adb (Is_Handled_Scale_Factor): Delete.
> (Get_Encoded_Name): Do not call it.
> * gcc-interface/decl.c (gnat_to_gnu_entity) :
> Tidy up and always use a meaningful description for arbitrary
> scale factors.
> * gcc-int