------- Comment #17 from fxcoudert at gcc dot gnu dot org 2006-05-05 07:04 ------- (In reply to comment #15) > I probably do something wrong, but with > GNU Fortran 95 (GCC) 4.2.0 20060504 (experimental) > from http://quatramaran.ens.fr/~coudert/gfortran/gfortran-x86_64-linux.tar.gz > > I still don't get a run-time error message. > Using fmt_exhaust.f90 it crashes (abort()) rather than going to 10 (err=10). > As does my test case.
With this exact same package, fmt_exhaust.f90 runs fines (all my nightly builds are tested, and the results for this one: http://quatramaran.ens.fr/~coudert/gfortran/test-results/test-x86_64-linux-20060504.log are completely clean) and your testcase gives: $ cat a.f90 program test implicit none integer :: n n = 1 write(*,'(''n'')') n end program test $ ./bin/gfortran -static a.f90 && ./a.out At line 5 of file a.f90 Fortran runtime error: Insufficient data descriptors in format after reversion This looks like you have an old version of the library around, and that it's used instead of that of the newer compiler. Try compiling with -static or setting LD_LIBRARY_PATH before execution. -- fxcoudert at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fxcoudert at gcc dot gnu dot | |org Status|REOPENED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27304