https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85537

--- Comment #18 from janus at gcc dot gnu.org ---
(In reply to Richard Biener from comment #13)
> As said, the testcase is invalid if it needs SAVE since that prolongs
> lifetime of the static chain over the duration of the contained function.

I agree.

Looking into Fortran 2008, one finds:

R1217 initial-proc-target is procedure-name

and

C1220(R1217) The procedure-name shall be the name of a nonelemental external or
module procedure, or a specific intrinsic function listed in 13.6 and not
marked with a bullet (•).

Note that this does not list internal procedures.

Reply via email to