[Ada] Allow Known_Static_Component_Size (etc) on private types
Pierre-Marie de Rodat
derodat@adacore.com
Tue Jun 15 10:20:52 GMT 2021
Use Implementation_Base_Type instead of Base_Type in certain synthesized
attributes so they work on private types.
Tested on x86_64-pc-linux-gnu, committed on trunk
gcc/ada/
* einfo-utils.adb (Known_Component_Size,
Known_Static_Component_Size, Unknown_Component_Size): Use
Implementation_Base_Type instead of Base_Type.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 1545 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210615/c4e74039/attachment-0001.bin>
More information about the Gcc-patches
mailing list