https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113096
Bug ID: 113096
Summary: [F2023] Allow deferred-length character argument to
ERRMSG= specifier
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: anlauf at gcc dot gnu.org
Target Milestone: ---
Fortran 2023 specifies the following enhancement over Fortran 2018:
"A deferred-length allocatable errmsg-variable is allocated by the processor
to the length of the explanatory message."
This needs to be handled by statements translated by the compiler (e.g.
ALLOCATE/DEALLOCATE), image control statements, and intrinsic subroutines
MOVE_ALLOC, GET_COMMAND, GET_COMMAND_ARGUMENT, and GET_ENVIRONMENT_VARIABLE
implemented in libgfortran.