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

--- Comment #15 from Paul Thomas <pault at gcc dot gnu.org> ---
(In reply to Harald Anlauf from comment #6)
> (In reply to Harald Anlauf from comment #5)
> > With the following patch len_trim is accepted in a specification expression:
> 
> Just forget that.

Indeed:
NAG Fortran Compiler Release 7.1(Hanzomon) Build 7133
Error: orig.f90, line 7: C is not permitted in a specification expression

[pault@pc30 pr84868]$ ifort o*.f90 ;./a.out
orig.f90(5): error #6219: This variable, used in a specification expression,
must be a dummy argument, a COMMON block object, or an object accessible
through host or use association.   [C]

Paul

Reply via email to