[patch] Enhance debug info for fixed-point types
Eric Botcazou
botcazou@adacore.com
Mon Dec 7 09:35:15 GMT 2020
> 2020-11-11 Eric Botcazou <ebotcazou@adacore.com>
>
> * exp_dbug.adb (Is_Handled_Scale_Factor): Delete.
> (Get_Encoded_Name): Do not call it.
> * gcc-interface/decl.c (gnat_to_gnu_entity) <Fixed_Point_Type>:
> Tidy up and always use a meaningful description for arbitrary
> scale factors.
> * gcc-interface/misc.c (gnat_get_fixed_point_type_info): Remove
> obsolete block and adjust the description of the scale factor.
There was an oversight in the patch, fixed thus.
* gcc-interface/decl.c (gnat_to_gnu_entity) <Fixed_Point_Type>: Put
back the "else" unduly removed.
--
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-patch
Size: 618 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20201207/a358ad3e/attachment.bin>
More information about the Gcc-patches
mailing list