------- Comment #1 from jvdelisle at gcc dot gnu dot org 2010-09-21 03:08 ------- Here is a case where we do have to evaluate at run time. So maybe we can not do what is proposed above.
character(10):: advancevar advancevar = "no" write(*, "(a)", advance=advancevar) "Well, " print *, "Does it work?" end ! Interestingly, if advancevar is a PARAMETER, we get an error. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45715