g77 bug still prevents compilation of LAPACK

Niall Smart njs3@doc.ic.ac.uk
Thu May 28 10:02:00 GMT 1998


On May 28,  4:12pm, Martin Kahlert wrote:
} Subject: g77 bug still prevents compilation of LAPACK

> the following g77-bug still prevents me from compiling LAPACK:
> (It's a bug which occurred soon after egcs-2.91.15 980321.
> This was the last one, which could compile LAPACK for me
> (with -O2). The problem boils down to
> cat c.f:
>       SUBROUTINE C(A)
>       COMPLEX    A
> 
>       WRITE(*,*) A.NE.CMPLX( 0.0D0 )
>       RETURN
>       END
> 
> g77 -O2 -c c.c:
> ../../egcs-19980525/gcc/reg-stack.c:2398: 
>     Internal compiler error in function subst_stack_regs_pat
> 
> g77 -v:
> Reading specs from /sw/egcs/lib/gcc-lib/i686-pc-linux-gnulibc1/egcs-2.91.33/specs
> gcc version egcs-2.91.33 19980525 (gcc2 ss-980502 experimental)

[njs3@cnet0000 ~]$ cat foo.f
cat c.f:
      SUBROUTINE C(A)
      COMPLEX    A

      WRITE(*,*) A.NE.CMPLX( 0.0D0 )
      RETURN
      END
[njs3@cnet0000 ~]$ g77 -c -O2 foo.f
[njs3@cnet0000 ~]$ g77 -v
Reading specs from
/homes/njs3/pub/cc/egcs-19980525/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.91.33/specs
gcc version egcs-2.91.33 19980525 (gcc2 ss-980502 experimental)

???

Niall



More information about the Gcc-bugs mailing list