Gentoo's GCC patchset has a patch for GCC PR #16104 (ICE in reload_cse_simplify_operands, at postreload.c:378 with SSE2 code on -O2)[1], based on a patch by Jakub Jelinek[2]. However, discussion on the gcc-patches ml resulted in a different fix for the PR[3], which was merged to the 4.0 branch and trunk (now 4.1) on 2005-04-04. 4.0 wasn't released until 2005-04-20, so this PR should be already fixed in all 4.x releases. I've excluded this patch from my 4.1 patchset and can't produce an ICE with the testcase in the bug. [1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16104 [2] http://gcc.gnu.org/ml/gcc-patches/2005-01/msg00726.html [3] http://gcc.gnu.org/ml/gcc-patches/2005-01/msg01934.html
Fixed, thanks.