This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
g77 write segfaults (was fmt.c)
- To: egcs-bugs at cygnus dot com
- Subject: g77 write segfaults (was fmt.c)
- From: Robert Williams <bob at bob dot usuf2 dot usuhs dot mil>
- Date: Mon, 30 Mar 1998 21:59:18 -0500
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/