Compiling gdb on i586 I get the following ICE: gcc -c -O2 -march=i686 -mtune=i686 -fmessage-length=0 -Wall -Wno-pointer-sign -I. -I. -I./config -DLOCALEDIR="\"/usr/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode -I../bfd -I./../bfd-I./../include -I../intl -I./../intl -DMI_OUT=1 -DTUI=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral -Wunused-label -Wunused-function coffread.c -v -save-temps Using built-in specs. Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,f95,java,ada --enable-checking --with-gxx-include-dir=/usr/include/c++/4.0.0 --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit --without-system-libunwind i586-suse-linux Thread model: posix gcc version 4.0.0 20050128 (experimental) (SUSE Linux) /usr/lib/gcc/i586-suse-linux/4.0.0/cc1 -E -quiet -v -I. -I. -I./config -I./../include/opcode -I../bfd -I./../bfd -I./../include -I../intl -I./../intl -DLOCALEDIR="/usr/share/locale" -DHAVE_CONFIG_H -DMI_OUT=1 -DTUI=1 coffread.c -march=i686 -mtune=i686 -Wall -Wno-pointer-sign -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral -Wunused-label -Wunused-function -fmessage-length=0 -O2 -fpch-preprocess -o coffread.i ignoring duplicate directory "." ignoring duplicate directory "./../bfd" ignoring nonexistent directory "../intl" ignoring nonexistent directory "./../intl" #include "..." search starts here: #include <...> search starts here: . ./config ./../include/opcode ../bfd ./../include /usr/local/include /usr/lib/gcc/i586-suse-linux/4.0.0/include /usr/lib/gcc/i586-suse-linux/4.0.0/../../../../i586-suse-linux/include /usr/include End of search list. /usr/lib/gcc/i586-suse-linux/4.0.0/cc1 -fpreprocessed coffread.i -quiet -dumpbase coffread.c -march=i686 -mtune=i686 -auxbase coffread -O2 -Wall -Wno-pointer-sign -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral -Wunused-label -Wunused-function -version -fmessage-length=0 -o coffread.s GNU C version 4.0.0 20050128 (experimental) (SUSE Linux) (i586-suse-linux) compiled by GNU C version 4.0.0 20050128 (experimental) (SUSE Linux). GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 coffread.c: In function ?coff_symfile_read?: coffread.c:513: warning: unused variable ?target? coffread.c:512: warning: unused variable ?len? coffread.c: In function ?coff_read_struct_type?: coffread.c:1993: internal compiler error: in store_bit_field, at expmed.c:731 Please submit a full bug report, with preprocessed source if appropriate. Note the same ICE occurs also on Linux/ia64 and Linux/x86-64.
-- Summary: ICE in store_bit_field, at expmed.c Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: aj at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: * GCC host triplet: * GCC target triplet: * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19689