Description of problem: ../../gcc/simplify-rtx.c: In function 'simplify_subreg': ../../gcc/simplify-rtx.c:5753:1: internal compiler error: output_operand: invalid shift operand Please submit a full bug report, with preprocessed source if appropriate. See <http://bugzilla.redhat.com/bugzilla> for instructions. The bug is not reproducible, so it is likely a hardware or OS problem. make[3]: *** [simplify-rtx.o] Error 1 make[3]: *** Waiting for unfinished jobs.... rm gcj-dbtool.pod gij.pod jcf-dump.pod jv-convert.pod grmic.pod gcov.pod gcj.pod cpp.pod gfdl.pod fsf-funding.pod gc-analyze.pod gcc.pod gfortran.pod make[3]: Leaving directory `/builddir/build/BUILD/gcc-4.7.0-20120105/obj-armv7hl-redhat-linux-gnueabi/gcc' make[2]: *** [all-stagefeedback-gcc] Error 2 make[2]: Leaving directory `/builddir/build/BUILD/gcc-4.7.0-20120105/obj-armv7hl-redhat-linux-gnueabi' make[1]: *** [stagefeedback-bubble] Error 2 make[1]: Leaving directory `/builddir/build/BUILD/gcc-4.7.0-20120105/obj-armv7hl-redhat-linux-gnueabi' make: *** [profiledbootstrap] Error 2 there is no preprocessed source available full build log is at http://ausil.us/gcc-4.7.0-0.4.fc17-armv7hl-build.log
Is it reproduceable? "The bug is not reproducible, so it is likely a hardware or OS problem." suggests that it is not, the driver in case of ICEs retries to compile the same source 3 times and if they don't fail the same all the time, which is this case, it is likely HW bug. Of course there are chances that this 3 times rebuild doesn't work reliably after being ported to 4.7 (in 4.6 I'm pretty sure it is), but there haven't been any significant changes to it, or there might be a bug triggered by ASLR. So, even if you can't reproduce it, please try to stop the build after this spot and try to run the simplify-rtx.c -fprofile-use compilation many times in a loop to see if it triggers. Unfortunately this is FDO, so it might depend on the simplify-rtx.gcda file changing concurrently from other compilations.
And if you can reproduce it, I'm interested in both the preprocessed source (simplify-rtx.i) and simplify-rtx.gcda as well.
Created attachment 551177 [details] simplify-rtx.gcda
Created attachment 551182 [details] simplify-rtx.i
well and truly fixed. Jakub thank you for your assistance