https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212
--- Comment #204 from John Paul Adrian Glaubitz <glaubitz at physik dot fu-berlin.de> --- (In reply to Kazumoto Kojima from comment #203) > (In reply to John Paul Adrian Glaubitz from comment #201) > > Created attachment 59006 [details] > > Diff for bootstrap comparison failure of gcc/gimple-lower-bitint.c > > I tried to build the stage3 gcc on qemu with the stage2 gcc which was built > with the cross comiler. Interestingly, stage2 gcc/gimple-lower-bitint.o > and stage3 gcc/gimple-lower-bitint.o were exactly the same. Perhaps the > problem cannot be reproduced because my qemu environment is not the real > sh4-linux and my build process of the stage3 compiler was not the same with > the true bootstrapping. It actually seems that the bootstrap comparison failure that I have run into was a result of disabling late combine. I am retesting this now just to make sure. > FYI, your stage2 gcc/gimple-lower-bitint.o already seems to be slightly > different from my stage2 gcc/gimple-lower-bitint.o. It may be due to the > difference in codebase. I'm using gcc master commit > 7f65c38ac1b18773d55c08d6ba920a798462b871 (origin/master, master). Yeah, I'm pretty sure that's because I disabled late combine as one of the measures trying to mitigate the segfault. I am testing now with the following patches applied: - 58832 - 58833 - 58883 - 58905 - 59000 as well as LRA enabled by default and late combine enabled as well. Will report back as soon as the build finishes.