https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104130
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail| |12.3.1, 13.3.0 Known to work| |14.1.0, 15.0 CC| |anlauf at gcc dot gnu.org Summary|[12/13/14/15 Regression] |[12/13 Regression] ICE in |ICE in |gfc_add_class_array_ref, at |gfc_add_class_array_ref, at |fortran/class.c:274 since |fortran/class.c:274 since |r12-4467-g64f9623765da3306 |r12-4467-g64f9623765da3306 | --- Comment #5 from anlauf at gcc dot gnu.org --- I doubt that the code is valid. NAG rejects it: NAG Fortran Compiler Release 7.2(Shin-Urayasu) Build 7200 Warning: pr104130.f90, line 7: Unused dummy variable X Error: pr104130.f90, line 3: Incorrect data type CLASS(*) (expected INTEGER) for argument X (no. 1) of S Starting with r14-870, the testcase is also rejected by gfortran: pr104130.f90:3:9: 3 | call s(transpose(z)) | 1 Error: Unlimited polymorphic actual argument at (1) is not matched with either an unlimited polymorphic or assumed type dummy argument Updating known-to-work.