This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Internal Compiler Error in g77 ss 20000626
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Internal Compiler Error in g77 ss 20000626
- From: Norbert Conrad <Norbert dot Conrad at hrz dot uni-giessen dot de>
- Date: Thu, 29 Jun 2000 14:10:19 +0200 (CET)
Hi,
the fortran code below causes an internal compiler error in g77
snapshot 20000626 on i686-pc-linux systems (RedHat 6.1). g77/gcc was
configured with ./configure --prefix=/opt
[/tmp]# g77 -O2 -funroll-loops -c mist.f
g77: Internal compiler error: program f771 got fatal signal 11
[/tmp]# g77 --verbose
g77 version 2.96 20000626 (experimental) (from FSF-g77 version 0.5.25 20000626 (experimental))
Driving: g77 -v -c -xf77-version /dev/null -xnone
Reading specs from /opt/lib/gcc-lib/i686-pc-linux/2.96/specs
gcc version 2.96 20000626 (experimental)
/opt/lib/gcc-lib/i686-pc-linux/2.96/cpp -lang-fortran -v -D__GNUC__=2 -D__GNUC_MINOR__=96 -D__GNUC_PATCHLEVEL__=0 -D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem(posix) -D_LANGUAGE_FORTRAN -traditional -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -D__tune_pentiumpro__ /dev/null /dev/null
GNU CPP version 2.96 20000626 (experimental) (cpplib)
(i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
/opt/include
/opt/lib/gcc-lib/i686-pc-linux/2.96/include
/opt/i686-pc-linux/include
/usr/include
End of search list.
/opt/lib/gcc-lib/i686-pc-linux/2.96/f771 -fnull-version -quiet -dumpbase g77-version.f -version -fversion -o /tmp/ccUHWzrj.s /dev/null
GNU F77 version 2.96 20000626 (experimental) (i686-pc-linux) compiled by GNU C version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release).
GNU Fortran Front End version 0.5.25 20000626 (experimental)
as -V -Qy -o /tmp/ccfCTpkk.o /tmp/ccUHWzrj.s
GNU assembler version 2.9.1 (i386-redhat-linux), using BFD version 2.9.1.0.24
ld -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o /tmp/cc0fv2Fk /tmp/ccfCTpkk.o /usr/lib/crt1.o /usr/lib/crti.o /opt/lib/gcc-lib/i686-pc-linux/2.96/crtbegin.o -L/opt/lib/gcc-lib/i686-pc-linux/2.96 -L/opt/lib/gcc-lib/i686-pc-linux/2.96/../../.. -lg2c -lm -lgcc -lc -lgcc /opt/lib/gcc-lib/i686-pc-linux/2.96/crtend.o /usr/lib/crtn.o
/tmp/cc0fv2Fk
__G77_LIBF77_VERSION__: 0.5.25 20000626 (prerelease)
@(#)LIBF77 VERSION 19991115
__G77_LIBI77_VERSION__: 0.5.25 20000626 (prerelease)
@(#) LIBI77 VERSION pjw,dmg-mods 19991115
__G77_LIBU77_VERSION__: 0.5.25 20000626 (prerelease)
@(#) LIBU77 VERSION 19980709
[/tmp]# cat mist.f
SUBROUTINE MIST(N, BETA)
IMPLICIT REAL*8 (A-H,O-Z)
INTEGER IA, IQ, M1
DIMENSION BETA(N)
DO 80 IQ=1,M1
IF (BETA(IQ).EQ.0.0D0) GO TO 120
80 CONTINUE
120 IF (IQ.NE.1) GO TO 160
160 M1 = IA(IQ)
RETURN
END
[/tmp]# exit
Kind regards,
Norbert.
--
Norbert Conrad phone: ++49 641 9913021
Hochschulrechenzentrum email: conrad@hrz.uni-giessen.de
Heinrich-Buff-Ring 44
35392 Giessen
Germany