Bug 49790 - [4.4 Regression] ICE in partition_view_bitmap, at tree-ssa-live.c:369
Summary: [4.4 Regression] ICE in partition_view_bitmap, at tree-ssa-live.c:369
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: tree-optimization (show other bugs)
Version: 4.4.6
: P3 normal
Target Milestone: 4.5.0
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-valid-code
Depends on:
Blocks:
 
Reported: 2011-07-20 06:34 UTC by Ryan Hill
Modified: 2012-03-13 13:04 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work: 4.5.0, 4.6.0, 4.7.0
Known to fail: 4.4.6
Last reconfirmed: 2011-12-16 00:00:00


Attachments
xapian_wrap.i (301 bytes, text/plain)
2011-07-20 06:34 UTC, Ryan Hill
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hill 2011-07-20 06:34:46 UTC
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)
Comment 1 Andrew Pinski 2011-12-16 01:14:46 UTC
Confirmed, only fails on 4.4.x
Comment 2 Mikael Pettersson 2011-12-26 17:08:09 UTC
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.
Comment 3 Jakub Jelinek 2012-03-13 13:04:40 UTC
Fixed in 4.5+, 4.4 is no longer supported.