While compiling kernel parts, I got an internal compile error. Testfile is attached. $ gcc-4.5 -c ch.i -o ch.o ch.i: In function ‘nf_ct_tuplehash_to_ctrack’: ch.i:19:65: internal compiler error: tree check: expected integer_cst, have nop_expr in int_cst_value, at tree.c:9619 Please submit a full bug report, with preprocessed source if appropriate. See <http://bugs.opensuse.org/> for instructions. gcc45 is from opensuse/repositories:/home/rguenther/openSUSE_11.1/i586. The previously available RPM (20091029) did not have this issue. GOOD: gcc version 4.5.0 20091029 (experimental) [trunk revision 153698] (SUSE Linux) BAD: $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/i586-suse-linux/4.5/lto-wrapper Target: i586-suse-linux Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=yes --with-gxx-include-dir=/usr/include/c++/4.5 --enable-ssp --disable-libssp --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.5 --enable-linux-futex --without-system-libunwind --enable-gold --with-arch-32=i586 --with-tune=generic --build=i586-suse-linux Thread model: posix gcc version 4.5.0 20091103 (experimental) [trunk revision 153845] (SUSE Linux)
Created attachment 18969 [details] testcase
Likely a dup of PR41935
Front-end issue: #3 0x000bd447 in fold_offsetof_1 (expr=0x42ff22c0, stop_ref=0x0) at /Users/apinski/src/change/gcc/gcc/c-common.c:8403 8403 HOST_WIDE_INT index = int_cst_value (t);
Yes it is a dup of bug 41935. *** This bug has been marked as a duplicate of 41935 ***