This is the mail archive of the gcc-bugs@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]

g77 write segfaults (was fmt.c)


In reference to my earlier report about
a segfault in fmt.c, here is a simple fortran
program that illustrates the problem.
Can anyone help with this one?

      program bomb
      character*10 Name
      Name = 'X'
C       print *,Name(1:1)  (prints an interminable string of characters)

        Write(6,1000) Name(1:1)
C       Write(6,1000) Name  (also bombs)
 1000   Format(' Name = ',A)
      stop
      end

--
Bob Williams, http://bob.usuf2.usuhs.mil/





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