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]
Other format: [Raw text]

Internal compiler error in g77 3.2


Package: g77-3.2
Version: 3.2.2-0pre3

The original source code file muller.F (which triggers an internal
compiler error), preprocessed file muller.f, and assembly file muller.s
are attached to this email.  The compiler error occurs only on 
optimization of -O2 or higher.

Output of gcc -v:
Reading specs from /usr/lib/gcc-lib/i386-linux/3.2.2/specs
Configured with: ../src/configure -v 
 --enable-languages=c,c++,java,f77,proto,pascal,objc,ada --prefix=/usr 
 --mandir=/usr/share/man --infodir=/usr/share/info 
 --with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared 
 --with-system-zlib --enable-nls --without-included-gettext 
 --enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm 
 --enable-objc-gc i386-linux
Thread model: posix
gcc version 3.2.2 20021231 (Debian prerelease)

Command line triggering the bug:
g77 -Wall -c -O2 -g -fno-automatic -fno-second-underscore -fugly-complex    
-I/home/kmccarty/Downloads/programs/src/cernlib-2002.04.26/2002/build/packlib/kernlib/kernnum 
-I/home/kmccarty/src/cernlib-2002.04.26/2002/src/packlib/kernlib/kernnum 
-I/home/kmccarty/src/cernlib-2002.04.26/2002/src/packlib/kernlib/kernnum/c204fort 
-I/home/kmccarty/src/cernlib-2002.04.26/2002/src/include  -DCERNLIB_LINUX 
-DCERNLIB_UNIX -DCERNLIB_LNX -DCERNLIB_QMGLIBC   -o archive/muller.o 
/home/kmccarty/src/cernlib-2002.04.26/2002/src/packlib/kernlib/kernnum/c204fort/muller.F

Compiler output:
/home/kmccarty/src/cernlib-2002.04.26/2002/src/packlib/kernlib/kernnum/c204fort/muller.F: 
In subroutine `muller':
/home/kmccarty/src/cernlib-2002.04.26/2002/src/packlib/kernlib/kernnum/c204fort/muller.F:194: 
Internal compiler error in compensate_edge, at reg-stack.c:2591
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.


Debian-specific information:
Versions of the packages that g77-3.2 depends upon are as follows:
ii  gcc-3.2-base   3.2.2-0pre3    The GNU Compiler Collection (base 
ii  libg2c0        3.2.2-0pre3    Runtime library for GNU Fortran 77 
ii  libc6          2.3.1-9        GNU C Library: Shared libraries and 
ii  gcc-3.2        3.2.2-0pre3    The GNU C compiler

Regards,

-- 
Kevin McCarty                Physics Department
kmccarty@princeton.edu       Princeton University
www.princeton.edu/~kmccarty  Princeton, NJ 08544

Attachment: muller.F
Description: Text document

Attachment: muller.f
Description: Text document

Attachment: muller.s
Description: Text document


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