https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112460
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Keywords| |ice-on-invalid-code Status|UNCONFIRMED |NEW Last reconfirmed| |2023-11-09 --- Comment #1 from anlauf at gcc dot gnu.org --- Confirmed. Intel gives: pr112460.f90(26): error #8754: All nondeferred type parameters of the variable must have the same values as the corresponding type parameters on the right hand side. cc = [aa, bb] --------^ Furthermore, NAG says: NAG Fortran Compiler Release 7.1(Hanzomon) Build 7125 Error: pr112460.f90, line 26: Array constructor values have differing types or type parameters (T(N_IN=2,N_OUT=1) and T(N_IN=1,N_OUT=2)) Error: pr112460.f90, line 27: Derived type T in io-list has an ALLOCATABLE component Looks like a lack of checking in the handling of array constructors.