[patch] Enhance debug info for fixed-point types

2020-11-11 Thread Eric Botcazou
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

Re: [patch] Enhance debug info for fixed-point types

2020-11-11 Thread Jeff Law via Gcc-patches
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

Re: [patch] Enhance debug info for fixed-point types

2020-12-07 Thread Eric Botcazou
> 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