https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124923
--- Comment #2 from Liam Powell <liam at liampwll dot com> ---
See also the below comment. It seems Valid_Scalars should be rejected here but
isn't for some reason, I haven't dug in to why:
-- Attribute 'Valid_Scalars is not supported on private tagged
-- types due to a code generation issue. Is_Visible_Component
-- does not allow for a component of a private tagged type to
-- be successfully retrieved.
