From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2708 invoked by alias); 29 Jul 2010 15:48:18 -0000 Received: (qmail 2594 invoked by uid 48); 29 Jul 2010 15:47:57 -0000 Date: Thu, 29 Jul 2010 15:48:00 -0000 Message-ID: <20100729154757.2593.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/45131] [4.6 regression] New Fortran test failures In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hjl dot tools at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-07/txt/msg03231.txt.bz2 ------- 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 *, " > [hjl@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 [hjl@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 [hjl@gnu-1 gfortran]$ ./a.out 1 Aborted [hjl@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