https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114308
--- Comment #3 from anlauf at gcc dot gnu.org --- There may be some doubt on the validity of the testcase. Intel ifx: pr114308.f90(20): warning #9108: Polymorphic values in array constructors will be converted to their declared type. [A_ARRAY] a_array = [a_array, b_instance] ! This one throws an ICE -------------^ pr114308.f90(20): error #6315: The array-constructor has ac-values of differing types. [B_INSTANCE] a_array = [a_array, b_instance] ! This one throws an ICE ----------------------^ compilation aborted for pr114308.f90 (code 1) NAG: NAG Fortran Compiler Release 7.2(Shin-Urayasu) Build 7200 Warning: pr114308.f90, line 21: Symbol B_INSTANCE referenced but never set Error: pr114308.f90, line 20: Array constructor value A_ARRAY is of abstract type A [NAG Fortran Compiler error termination, 1 error, 1 warning]