This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-g77 bug in list output
- To: Ovidiu Toader <ovi at physics dot utoronto dot ca>
- Subject: Re: egcs-g77 bug in list output
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: Mon, 20 Jul 98 22:20:46 +0200
- Cc: egcs-bugs at cygnus dot com
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <35B36B3B.18E03534@physics.utoronto.ca>
Ovidiu,
> The following simple program is supposed to write
> some numbers in two files, "file_13" and
> "file_14". All the output goes to "file_14" and this is
> not expected.
It works for me, using:
% /usr/snp/bin/g77 -v -O2 toader.f
g77 version egcs-2.91.50 19980714 (gcc2 ss-980609 experimental)
(from FSF-g77 version 0.5.24-19980715)
Driving: /usr/snp/bin/g77 -v -O2 toader.f -lg2c -lm
Reading specs from
/usr/snp/lib/gcc-lib/m68k-next-nextstep3/egcs-2.91.50/specs
gcc version egcs-2.91.50 19980714 (gcc2 ss-980609 experimental)
/usr/snp/lib/gcc-lib/m68k-next-nextstep3/egcs-2.91.50/f771
toader.f -quiet -dumpbase toader.f -O2 -version -fversion -o
/usr/tmp/ccO2wqed.s
GNU F77 version egcs-2.91.50 19980714 (gcc2 ss-980609 experimental)
(m68k-next-nextstep3) compiled by GNU C version egcs-2.91.50
19980714 (gcc2 ss-980609 experimental).
GNU Fortran Front End version 0.5.24-19980715
as -o /usr/tmp/ccvQ54Ad.o /usr/tmp/ccO2wqed.s
/usr/snp/lib/gcc-lib/m68k-next-nextstep3/egcs-2.91.50/collect2
-lcrt0.o -L/usr/snp/lib/gcc-lib/m68k-next-nextstep3/egcs-2.91.50
-L/usr/snp/m68k-next-nextstep3/lib -L/usr/snp/lib
/usr/tmp/ccvQ54Ad.o -lg2c -lm -lgcc -lsys_s -lgcc
even if the files already exist:
% cat file_13
101.000000
102.000000
103.000000
104.000000
% cat file_14
1. 2.
Are you sure you don't have any suspicious links lying around ?
HTH,
Toon.