This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: g77 Internal compiler error (cmplx) in egcs-2.91.24
- To: martin dot kahlert at mchp dot siemens dot de
- Subject: Re: g77 Internal compiler error (cmplx) in egcs-2.91.24
- From: Craig Burley <burley at gnu dot org>
- Date: Fri, 24 Apr 1998 06:05:36 -0400 (EDT)
- CC: d dot love at dl dot ac dot uk
- CC: egcs-bugs at cygnus dot com
>the new snapshot egcs-2.91.24 19980418 (gcc2 ss-980401 experimental)
>has a bug in g77: (at least on Linux and mingw32)
>
>Try g77 -O -c c.f with the file
>
> SUBROUTINE C(A)
> COMPLEX A
>
> WRITE(*,*) A.NE.CMPLX( 0.0D0 )
> RETURN
> END
>
>result:
>g77: Internal compiler error: program f771 got fatal signal 6
This appears to be a back-end bug -- it crashes in subst_stack_regs_pat
on my system, in the "abort();" within the switch statement.
Seems kind of like another bug I've reported either to egcs or
to gcc2, and which somebody might have already issued a fix for.
But, if not, I'm sure somebody up on the relevant parts of the
back end will take note.
This looks like a useful test case for g77's `compile' directory,
anyway. Dave Love, if you're listening, could you add this under
the name `980424-0.f'?
tq vm, (burley)