[g77] failing to compile simple prog

Pascal A. Dupuis dupuis@lei.ucl.ac.be
Sat Nov 6 03:47:00 GMT 1999


Hello,
could you please check this message with g77 peoples ?

I am trying to compile octave-2.0.14 under gcc-2.95.2. The simple g77 test
in 'configure' fails to compile the enclosed ftest.f program.

Running /usr/local/gcc-2.95.2/bin/g77 -c ftest.f results in
ftest.f: In subroutine `forsub':
ftest.f:5:
         L = LEN(C)
         1   2
Type disagreement between expressions at (1) and (2)
g77: Internal compiler error: program f771 got fatal signal 11

In fact, I use pgcc-2.95.2, but it doesn't touch the f77 part. OTOH,
egcs-1.1.1 sucessfully compile it.

System : i686-pc-linux-gnu, kernel 2.2.14pre4, glibc-2.1.2., binutils
version 2.9.5 (with BFD 2.9.5.0.16)

every program was compiled with

CFLAGS='-O3 -fno-strength-reduce -mpentiumpro
-march=pentiumpro -mcpu=pentiumpro -malign-double -DCPU=686 -D_GNU_SOURCE'

I also enclosed report from egcs and gcc  'g77 -v ftest.f'

Any hint ?

TIA

Pascal Dupuis

P.S : please Reply-To: dupuis@lei.ucl.ac.be


More information about the Gcc-bugs mailing list