------- Comment #21 from jvdelisle at gcc dot gnu dot org 2008-10-18 21:48 ------- Created an attachment (id=16515) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16515&action=view) Proposed patch for this second test case.
Toon and Tobias: Please try this attached patch. This fixes actually two different problems not related to the first test case. The standard is clear. We were trying to interpret unquoted strings in namelists by looking ahead to see if there was an '=' to tell us it was a namelist object name and not a character object value. Unquoted character object values are not allowed in namelists. The patch requires modifying namelist_18.f90. The only thing I need to determine now is if there is a legacy behaviour we may want to deal with and of course does this patch fix Toon's problem in the actual application? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37707