Package: g77-3.3 Version: 1:3.3.2-0pre4 Severity: normal I get an ICE with the following command line. The ICE does not occur at -O2 or lower on powerpc.
g77 -g -c -O3 -g -fno-automatic -fno-second-underscore -fugly-complex -O3 -I/home/kmccarty/projects/cernlib/cernlib-2003.08.21/build/kernlib/kernnum -I/home/kmccarty/projects/cernlib/cernlib-2003.08.21/src/kernlib/kernnum -I/home/kmccarty/projects/cernlib/cernlib-2003.08.21/src/kernlib/kernnum/g900fort -I/home/kmccarty/projects/cernlib/cernlib-2003.08.21/src/include -DCERNLIB_LINUX -DCERNLIB_UNIX -DCERNLIB_LNX -DCERNLIB_QMGLIBC -DCERNLIB_PPC -DCERNLIB_DEBIAN -DDEBIAN_VERSION=\"2003.08.21-2\" -o archive/ranget.o /home/kmccarty/projects/cernlib/cernlib-2003.08.21/src/kernlib/kernnum/g900fort/ranget.F This is the resulting error message produced by adding -v to the above command line: Reading specs from /usr/lib/gcc-lib/powerpc-linux/3.3.2/specs Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc --disable-multilib powerpc-linux Thread model: posix gcc version 3.3.2 20030908 (Debian prerelease) /usr/lib/gcc-lib/powerpc-linux/3.3.2/cc1 -E -traditional-cpp -D_LANGUAGE_FORTRAN -quiet -v -I/home/kmccarty/projects/cernlib/cernlib-2003.08.21/build/kernlib/kernnum -I/home/kmccarty/projects/cernlib/cernlib-2003.08.21/src/kernlib/kernnum -I/home/kmccarty/projects/cernlib/cernlib-2003.08.21/src/kernlib/kernnum/g900fort -I/home/kmccarty/projects/cernlib/cernlib-2003.08.21/src/include -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=2 -D__unix__ -D__gnu_linux__ -D__linux__ -Dunix -D__unix -Dlinux -D__linux -Asystem=unix -Asystem=posix -DCERNLIB_LINUX -DCERNLIB_UNIX -DCERNLIB_LNX -DCERNLIB_QMGLIBC -DCERNLIB_PPC -DCERNLIB_DEBIAN -DDEBIAN_VERSION="2003.08.21-2" /home/kmccarty/projects/cernlib/cernlib-2003.08.21/src/kernlib/kernnum/g900fort/ranget.F -fno-automatic -fno-second-underscore -fugly-complex -O3 -O3 ranget.f ignoring nonexistent directory "/usr/powerpc-linux/include" #include "..." search starts here: #include <...> search starts here: /home/kmccarty/projects/cernlib/cernlib-2003.08.21/build/kernlib/kernnum /home/kmccarty/projects/cernlib/cernlib-2003.08.21/src/kernlib/kernnum /home/kmccarty/projects/cernlib/cernlib-2003.08.21/src/kernlib/kernnum/g900fort /home/kmccarty/projects/cernlib/cernlib-2003.08.21/src/include /usr/local/include /usr/lib/gcc-lib/powerpc-linux/3.3.2/include /usr/include End of search list. /usr/lib/gcc-lib/powerpc-linux/3.3.2/f771 ranget.f -quiet -dumpbase ranget.F -auxbase-strip archive/ranget.o -g -g -O3 -O3 -version -fno-automatic -fno-second-underscore -fugly-complex -I/home/kmccarty/projects/cernlib/cernlib-2003.08.21/build/kernlib/kernnum -I/home/kmccarty/projects/cernlib/cernlib-2003.08.21/src/kernlib/kernnum -I/home/kmccarty/projects/cernlib/cernlib-2003.08.21/src/kernlib/kernnum/g900fort -I/home/kmccarty/projects/cernlib/cernlib-2003.08.21/src/include -o ranget.s GNU F77 version 3.3.2 20030908 (Debian prerelease) (powerpc-linux) compiled by GNU C version 3.3.2 20030908 (Debian prerelease). GGC heuristics: --param ggc-min-expand=47 --param ggc-min-heapsize=31935 /home/kmccarty/projects/cernlib/cernlib-2003.08.21/src/kernlib/kernnum/g900fort/ranget.F:10: internal compiler error: in add_abstract_origin_attribute, at dwarf2out.c:9921 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. Attached to this bugreport is the preprocessed file ranget.f produced by adding -save-temps to the above command. Here is the output of g77 -v: Reading specs from /usr/lib/gcc-lib/powerpc-linux/3.3.2/specs Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc --disable-multilib powerpc-linux Thread model: posix gcc version 3.3.2 20030908 (Debian prerelease) -- System Information: Debian Release: testing/unstable Architecture: powerpc Kernel: Linux arcturus 2.4.20-ben10 #1 Mon Jun 9 21:20:50 EDT 2003 ppc Locale: LANG=C, LC_CTYPE=C Versions of packages g77-3.3 depends on: ii gcc-3.3 1:3.3.2-0pre4 The GNU C compiler ii gcc-3.3-base 1:3.3.2-0pre4 The GNU Compiler Collection (base ii libc6 2.3.2-8 GNU C Library: Shared libraries an ii libg2c0 1:3.3.2-0pre4 Runtime library for GNU Fortran 77 -- no debconf information regards, -- Kevin McCarty Physics Department [EMAIL PROTECTED] Princeton University www.princeton.edu/~kmccarty Princeton, NJ 08544
# 1 "/home/kmccarty/projects/cernlib/cernlib-2003.08.21/src/kernlib/kernnum/g900fort/ranget.F" # 1 "<built-in>" # 1 "<command line>" # 1 "/home/kmccarty/projects/cernlib/cernlib-2003.08.21/src/kernlib/kernnum/g900fort/ranget.F" * * $Id: ranget.F,v 1.1.1.1 1996/02/15 17:49:05 mclareni Exp $ * * $Log: ranget.F,v $ * Revision 1.1.1.1 1996/02/15 17:49:05 mclareni * Kernlib * * # 1 "/home/kmccarty/projects/cernlib/cernlib-2003.08.21/src/kernlib/kernnum/kernnum/pilot.h" 1 # 45 "/home/kmccarty/projects/cernlib/cernlib-2003.08.21/src/kernlib/kernnum/kernnum/pilot.h" # 10 "/home/kmccarty/projects/cernlib/cernlib-2003.08.21/src/kernlib/kernnum/g900fort/ranget.F" 2 SUBROUTINE RANGET(SEED) DOUBLE PRECISION SEED, G900GT, G900ST, DUMMY SEED = G900GT() RETURN ENTRY RANSET(SEED) DUMMY = G900ST(SEED) RETURN END