https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114308
--- Comment #11 from anlauf at gcc dot gnu.org --- Created attachment 58926 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58926&action=edit Patch This patch applies the check of the declared type in resolve_array_list, where there is already a check for unlimited polymorphic elements. Will submit if it regtests ok.