------- Comment #1 from burnus at gcc dot gnu dot org 2007-04-03 21:58 ------- I believe this bug is invalid as the format string is invalid.
NAG f95 also claims: *** Malformed format specification Reasoning: R1001 format-stmt is FORMAT format-specification R1002 format-specification is ( [ format-item-list ] ) Thus the question is whether "()" is a valid format-item(-list). R1003 format-item is [ r ] data-edit-desc or control-edit-desc or char-string-edit-desc or [ r ] ( format-item-list ) R1004 r is int-literal-constant I would claim that "()" is not - a data-edit-desc - a char-string-edit-desc It matches however, "( format-item-list )", but then I would claim that "" is not: - a data-edit-desc - a char-string-edit-desc - ( format-item-list ) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31466