I've encountered a regression in 14.0.1 against 14.0.0 and the earlier 13.x versions of the Fortran compiler. I've attached a small reproducer stripped down as much as possible from the actual code. One module defines the type T1 and a generic interface SIZE for arguments of that type. The second module uses the first, defines the type T2 and extends the generic interface SIZE for arguments of type T2. The 14.0.1 compiler incorrectly flags an error in the second module where SIZE is being referenced with a type T2 argument, complaining about conflicting attributes for SIZE (there are none); the reproducer compiles without error under 13.x and 14.0.0. Critical to the reproducer are some extraneous generic interfaces in the first module; if these are removed the error goes away. See comments in the attached file for more details.
↧