https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114308
--- Comment #6 from kargls at comcast dot net --- Created attachment 58911 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58911&action=edit Fix the ICE by detecting invalid code The attached patch catches F2023:C7125. It does not address F2023:C7124 for an umlimited polmorphic entity in an array constructor as do not have a testcase. One can like copy the block of code I have attached and change attr.abstract to attr.unlimited_polymorphic.