https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108921
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |13.3
Known to work| |13.3.1, 14.3.0, 15.2.0,
| |16.0
Known to fail| |12.5.0
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED
--- Comment #2 from anlauf at gcc dot gnu.org ---
All versions >= 13 give here a clean recovery even when running under valgrind:
pr108921.f90:13:18:
13 | character(len=this%f()) :: r
| 1
Error: Function 'this' at (1) must be PURE
pr108921.f90:21:7:
21 | use lib
| 1
Fatal Error: Cannot open module file 'lib.mod' for reading at (1): No such file
or directory
compilation terminated.
If there was a NULL pointer dereference, it has been fixed, and the
error message is appropriate.
Closing as fixed.