[forwarded from http://bugs.debian.org/324600]
Bug submitter writes: I had no compilation problems with g77. 300 format( 1000(a,$)) 1 Error: $ must the last specifier in format string at (1) 301 format(/1000(a,$)) Error: $ must the last specifier in format string at (1) If it is really a code problem what would be the correct syntax? Reply from FX Coudert: g77 documentation states: "A dollar sign at the end of an output format specification suppresses the newline at the end of the output." Since this (a $ as format specifier) is an extension, there is nothing in the standard against this. On the other hand, all the compilers I have at hand accept this, so I think we might as well remove this contraint. I think this can be reported as a bug. -- Summary: format( 1000(a,$)) Product: gcc Version: 4.0.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: debian-gcc at lists dot debian dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24285