This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
g77 bug
- To: gcc-bugs at gcc dot gnu dot org
- Subject: g77 bug
- From: Jeffrey V Siebers <jsiebers at hsc dot vcu dot edu>
- Date: Fri, 21 Jan 2000 09:33:50 -0500
- Organization: MCV at VCU
- Reply-To: jsiebers at vcu dot edu
I thought I reported this bug ~1 month ago, but am not sure.
Anyway, The little test program below works on arbitrary
compilers, except the latest g77 compilers.
Good Luck!
Jeff
program stest
c
c Jeff Siebers, MCV
c
c Works with other compilers.....(old g77, sun, sgi, ...)
c
integer iu1
character string*80
iu1 = 39
write (iu1, '(a40)') 'SUCCESS: Your Compiler is Good'
write (iu1, '(a40)') 'Second Text Line'
c
c print *, 'backspace'
backspace iu1
c
c print *, 'writing endfile'
endfile iu1
c print *, 'Rewinding Stream'
rewind iu1
c print *, 'Reading From Stream'
read (iu1, '(a40)') string
print *, string
return
end