Created attachment 24795 [details] xapian_wrap.i $ g++-4.4.6 -c xapian_wrap.i xapian_wrap.i: In function 'bool f()': xapian_wrap.i:26: internal compiler error: in partition_view_bitmap, at tree-ssa-live.c:369 Please submit a full bug report, with preprocessed source if appropriate. See <http://bugs.gentoo.org/> for instructions. $ g++-4.4.6 -v Using built-in specs. Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.4.6/work/gcc-4.4.6/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.6 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.6/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.6 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.6/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.6/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.6/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-fixed-point --with-ppl --with-cloog --disable-ppl-version-check --with-cloog-include=/usr/include/cloog-ppl --disable-nls --with-system-zlib --disable-werror --enable-secureplt --enable-multilib --disable-libmudflap --disable-libssp --enable-libgomp --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.4.6/python --enable-checking=release --disable-libgcj --enable-languages=c,c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.4.6 p1.0, pie-0.4.5' Thread model: posix gcc version 4.4.6 (Gentoo 4.4.6 p1.0, pie-0.4.5)
Confirmed, only fails on 4.4.x
This was fixed for 4.5 by r152203: http://gcc.gnu.org/ml/gcc-patches/2009-09/msg01869.html http://gcc.gnu.org/ml/gcc-cvs/2009-09/msg00954.html Backporting that to 4.4.6 fixes the test case there too with no testsuite regressions (at least for me on i686-linux). It's my understanding that upstream gcc 4.4 branch will be EOL:d soon, so you probably have to apply that fix locally if you're not able to upgrade to gcc 4.5 or newer.
Fixed in 4.5+, 4.4 is no longer supported.