[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#176117: Internal compiler error in g77 3.2



regression from gcc-3.0.4, seen on gcc-3_3-branch as well, HEAD
20030101 does not ICE.

Kevin B. McCarty writes:
> 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.



Reply to: