------- Comment #5 from hjl dot tools at gmail dot com 2010-07-29 15:47 ------- (In reply to comment #4) > HJ, as it works on most systems, can you do some debugging?
Trunk was broken since yesterday and was fixed a while ago. > a) Does the system has HAVE_TTYNAME defined for libgfortran/ ? Yes. > b) If it fails in the library, how? Otherwise: Which of the asserts fails in > the test case? Can you replace for the failing line the "call abort()" by > "print *, <variable name>" > [...@gnu-1 gfortran]$ cat inquire_3.f90 ! pr14836 OPEN(UNIT=9, ACCESS='DIRECT', RECL=80, FORM='UNFORMATTED') INQUIRE(UNIT=9,NEXTREC=NREC) WRITE(UNIT=9,REC=5) 1 INQUIRE(UNIT=9,NEXTREC=NREC) PRINT*,NREC IF (NREC.NE.6) CALL ABORT READ(UNIT=9,REC=1) MVI INQUIRE(UNIT=9,NEXTREC=NREC) PRINT*,NREC IF (NREC.NE.2) CALL ABORT CLOSE(UNIT=9,STATUS='DELETE') END [...@gnu-1 gfortran]$ /export/gnu/import/svn/gcc-test/bld/gcc/testsuite/gfortran/../../gfortran -B/export/gnu/import/svn/gcc-test/bld/gcc/testsuite/gfortran/../../ inquire_3.f90 -w -O0 -B/export/gnu/import/svn/gcc-test/bld/i686-linux/./libgfortran/.libs -L/export/gnu/import/svn/gcc-test/bld/i686-linux/./libgfortran/.libs -L/export/gnu/import/svn/gcc-test/bld/i686-linux/./libgfortran/.libs -L/export/gnu/import/svn/gcc-test/bld/i686-linux/./libiberty -lm -static [...@gnu-1 gfortran]$ ./a.out 1 Aborted [...@gnu-1 gfortran]$ -- hjl dot tools at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[4.6 regression] New test |[4.6 regression] New Fortran |failures configured with -- |test failures |with-cpu=atom | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45131