This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: g77 Internal compiler error (cmplx) in egcs-2.91.24


>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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]