The format must be '(a)' and not 'a', however, gfortran does not diagnose this in
PRINT ('a'), 'Hello' NAG f95: Error: a.f90, line 1: Missing left parenthesis in format specification ifort: Error: First non-blank character in a character type format specifier must be a left parenthesis. Without the outer parenthesis, gfortran detects this: print 'a', 'Hello' 1 Error: Missing leading left parenthesis in format string at (1) [The position of the "1" could also be better.] -- Summary: Diagnose missing "(" in "PRINT ('a')," Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33269