This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

turn LSTAT/STAT checking back on


Committed.  (I'd like to know if this is still a problem, because I
think it's been fixed in libU77.)

        tq vm, (burley)


1999-04-24  Craig Burley  <craig@jcb-sc.com>

	* g77.f-torture/execute/u77-test.f (main): Bug involving
	LSTAT has been fixed, so turn back on full checking.

Index: egcs/gcc/testsuite//g77.f-torture/execute/u77-test.f
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g77.f-torture/execute/u77-test.f,v
retrieving revision 1.6
diff -c -3 -p -r1.6 u77-test.f
*** u77-test.f	1998/12/16 22:06:01	1.6
--- u77-test.f	1999/04/24 17:06:06
*************** C     the better to test with, my dear! 
*** 233,242 ****
        end do
        i = lstat ('foo', fstatb)
        do i=1,13
! c     For some reason that I haven't investigated, some people see
! c     failures with the 7th element which doesn't seem to indicate a u77
! c     bug.
!         if (fstatb (i) .ne. statb (i) .and. i .ne. 7) then
            write (6,*) '*** LSTAT and STAT don''t agree on '//
       +         'array element ', i, ' value ', fstatb (i), statb (i)
            call abort
--- 233,239 ----
        end do
        i = lstat ('foo', fstatb)
        do i=1,13
!         if (fstatb (i) .ne. statb (i)) then
            write (6,*) '*** LSTAT and STAT don''t agree on '//
       +         'array element ', i, ' value ', fstatb (i), statb (i)
            call abort


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]