------- Comment #1 from pault at gcc dot gnu dot org 2007-07-08 14:51 ------- (In reply to comment #0) > Even with -std=f95 -pedantic no error is given for the following program. NAG > f95 gives:
Both Lahey and g95 are happy with it. > "C421 (R424) The length specified for a character statement function or for a > statement function dummy argument of type character shall be an initialization > expression." That is the case here (LEN = 4). I do not think that this is a bug. Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32673