[Bug ada/122423] Mutably Tagged Types (Size’Class) do not have proper alignment on classwide types
liam at liampwll dot com
gcc-bugzilla@gcc.gnu.org
Sat Oct 25 11:42:36 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122423
--- Comment #1 from Liam Powell <liam at liampwll dot com> ---
The solution for this is to presumably to just not allow descendant types to
have alignment which is incompatible with the parent type as the Alignment
aspect can already be specified as any value on the parent type. Setting
`Alignment => Standard'Maximum_Alignment` everywhere that uses Size'Class also
works.
More information about the Gcc-bugs
mailing list