https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92993
--- Comment #5 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #4) > The testcase in comment#0 compiles for me with today's master. Read: does not ICE; just gives an appropriate error message: z1.f90:8:6: 8 | function f(x) | 1 Error: Interface mismatch in global procedure 'f' at (1): POINTER attribute mismatch in function result