[Ada] Avoid passing Enum_Lit'Size to the back end
Pierre-Marie de Rodat
derodat@adacore.com
Fri Jun 18 08:38:27 GMT 2021
Constant fold Enum_Lit'Size so the back end won't see it.
Tested on x86_64-pc-linux-gnu, committed on trunk
gcc/ada/
* sem_attr.adb (Eval_Attribute): For Enum_Lit'Size, use
Enum_Type'Object_Size.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 1392 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210618/e0e6d81a/attachment-0001.bin>
More information about the Gcc-patches
mailing list