When there is a read statement expecting a single entry and a single comma is entered, the read expects more input.
The test program is: stuff = 1 stuff2 = 2 write(*,'(1x,a,$)')'Enter 2 somethings: ' read(5,*)stuff,stuff2 write(*,'(1x,a,$)')'Enter something: ' read(5,*)stuff call exit(0) end [ashtray] image 205 % gfortran -o inputbug inputbug.f [ashtray] image 206 % ./inputbug Enter 2 somethings: ,, Enter something: , , / [ashtray] image 207 % It does not accept a , as a default entry for a single number, although two commas work when two numbers are expected. Once it gets one comma it even refuses a / until a second return is entered. This happens on Fedora Core 4 with gcc-gfortran-4.0.2-8.fc4 and on Mac OSX 10.4 with gcc version 4.1.0 20051026 (experimental) -- Summary: gfortran read does not take comma for default on one entry Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libfortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mast at colorado dot edu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25419