To: [EMAIL PROTECTED] debian-gcc@lists.debian.org
Subject: 
From: [EMAIL PROTECTED]
Reply-To: 
Cc: 
X-send-pr-version: 3.113
X-GNATS-Notify: 


>Submitter-Id:  net-debian
>Originator:    Gordon Sadler
>Organization:  
>Confidential:  no
>Synopsis:
gcc-3.0 ICE during glibc build, -O3 -march=athlon -ggdb

>Severity:
critical

>Priority:
high

>Category:
c

>Class:
ice-on-legal-code

>Release:       3.0 20010526 (Debian prerelease) (Debian testing/unstable)
>Environment:
System: Linux debian-home 2.2.19 #1 Sat May 19 16:25:04 CDT 2001 i686 unknown
Architecture: i686

host: i386-pc-linux-gnu
build: i386-pc-linux-gnu
target: i386-pc-linux-gnu
configured with: ../src/configure -v 
--enable-languages=c,c++,java,f77,proto,objc --prefix=/usr 
--infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as 
--with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-x 
--without-included-gettext --disable-checking --enable-threads=posix 
--enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux
>Description:
        While compiling glibc from CVS today, 26 May 01 2300 CST.

        stdio-common/printf_fp.c compiles with march=athlon -g0 -O99 
-fomit-frame-pointer
        ""                       compiles with march=athlon -fPIC -g0 -O99 
-fomit-frame-pointer
        ""                       compiles with march=athlon -pg
        ""                       produces an ICE with march=athlon -ggdb

Full command-line, and output, used to produce printf_fp.i:
Reading specs from /usr/lib/gcc-lib/i386-linux/3.0/specs
Configured with: ../src/configure -v 
--enable-languages=c,c++,java,f77,proto,objc --prefix=/usr 
--infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as 
--with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-x 
--without-included-gettext --disable-checking --enable-threads=posix 
--enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux
Thread model: posix
gcc version 3.0 20010526 (Debian prerelease)
 /usr/lib/gcc-lib/i386-linux/3.0/cpp0 -lang-c -v -I../include -I. -I.. 
-I../libio -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 
-I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread 
-I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix 
-I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sysdeps/i386/i586 
-I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386/i686 
-I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu 
-I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet 
-I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 
-I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu 
-I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu 
-I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 
-I../sysdeps/generic/elf -I../sysdeps/generic -D__GNUC__=3 -D__GNUC_MINOR__=0 
-D__GNUC_PATCHLEVEL__=0 -D__ELF__ -Dunix -Dlinux -D__ELF__ -D__unix__ 
-D__linux__ -D__unix -D__linux -Asystem=posix -D__OPTIMIZE__ 
-D__STDC_HOSTED__=1 -Wall -Wbad-function-cast -Wcast-qual -Wcomment -Wcomments 
-Winline -Wmissing-declarations -Wmissing-noreturn -Wmissing-prototypes 
-Wmultichar -Wsign-compare -Wstrict-prototypes -Wtrigraphs -Wwrite-strings 
-Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__athlon -D__athlon__ 
-D__tune_athlon__ -D_LIBC_REENTRANT -D_IO_MTSAFE_IO -include 
../include/libc-symbols.h printf_fp.c printf_fp.i
 GNU CPP version 3.0 20010426 (Debian prerelease) (cpplib) (i386 Linux/ELF)
 ignoring nonexistent directory "/usr/i386-linux/include"
 #include "..." search starts here:
 #include <...> search starts here:
  ../include
  .
  ..
  ../libio
  ../sysdeps/i386/elf
  ../linuxthreads/sysdeps/unix/sysv/linux/i386
  ../linuxthreads/sysdeps/unix/sysv/linux
 ../linuxthreads/sysdeps/pthread
 ../linuxthreads/sysdeps/unix/sysv
 ../linuxthreads/sysdeps/unix
 ../linuxthreads/sysdeps/i386/i686
 ../linuxthreads/sysdeps/i386/i586
 ../linuxthreads/sysdeps/i386
 ../sysdeps/unix/sysv/linux/i386/i686
 ../sysdeps/unix/sysv/linux/i386
 ../sysdeps/unix/sysv/linux
 ../sysdeps/gnu
 ../sysdeps/unix/common
 ../sysdeps/unix/mman
 ../sysdeps/unix/inet
 ../sysdeps/unix/sysv/i386
 ../sysdeps/unix/sysv
 ../sysdeps/unix/i386
 ../sysdeps/unix
 ../sysdeps/posix
 ../sysdeps/i386/i686/fpu
 ../sysdeps/i386/i686
 ../sysdeps/i386/i486
 ../sysdeps/i386/fpu
 ../sysdeps/i386
 ../sysdeps/wordsize-32
 ../sysdeps/ieee754/ldbl-96
 ../sysdeps/ieee754/dbl-64
 ../sysdeps/ieee754/flt-32
 ../sysdeps/ieee754
 ../sysdeps/generic/elf
 ../sysdeps/generic
 /usr/local/include
 /usr/lib/gcc-lib/i386-linux/3.0/include
 /usr/include
End of search list.
 /usr/lib/gcc-lib/i386-linux/3.0/cc1 -fpreprocessed printf_fp.i -quiet 
-dumpbase printf_fp.c -march=athlon -ggdb -O3 -Wall -Wbad-function-cast 
-Wcast-qual -Wcomment -Wcomments -Winline -Wmissing-declarations 
-Wmissing-noreturn -Wmissing-prototypes -Wmultichar -Wsign-compare 
-Wstrict-prototypes -Wtrigraphs -Wwrite-strings -version -fstrict-aliasing -o 
printf_fp.s
GNU CPP version 3.0 20010526 (Debian prerelease) (cpplib) (i386 Linux/ELF)
GNU C version 3.0 20010526 (Debian prerelease) (i386-linux)
        compiled by GNU C version 3.0 20010526 (Debian prerelease).
printf_fp.c: In function `__printf_fp':
printf_fp.c:1144: Internal compiler error in gen_subprogram_die, at 
dwarf2out.c:9473
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

>How-To-Repeat:
        Follow instructions above.
        glibc was configured with:
        export CFLAGS='-march=athlon -O3 -fstrict-aliasing'
        export CC='gcc-3.0'
        ./configure --enable-add-ons --enable-all-warnings \
         --without-cvs --enable-kernel=2.2.19 --enable-omitfp
>Fix:
        Don't use -ggdb??

Attachment: printf_fp.i.bz2
Description: Binary data

Reply via email to