Hi Andrew, it looks like your commit
r139842 | atrick | 2011-09-15 22:58:37 +0200 (Thu, 15 Sep 2011) | 2 lines
Reapply r139759. Disable IV rewriting by default. See PR10916.
broke this buildbot:
The failure is a bootstrap failure of llvm-gcc when comparing object files
from stages 2 and 3 (which don't match).
I was able to reproduce it locally as follows:
Configure LLVM with --enable-optimized --enable-assertions
Configure llvm-gcc with --enable-languages=c,c++,objc,obj-c++ --enable-checking --enable-bootstrap
The failure is pretty random, so to bisect I considered a commit to be OK if
five llvm-gcc bootstraps in a row succeeded. I put the system under
simultaneous heavy load - this seems to increase the probability of the
bootstrap failing, decreasing the likelihood of a false positive.
I bisected down to your commit. Unfortunately it looks like it's going to be
nasty to debug: presumably some other path is expecting induction variables to
be in a certain form but isn't checking if that's really true... Can you please
look into this, since while llvm-gcc working is no longer a release requirement,
it would be good to not release a version of LLVM with this bug in it
Because LLVM failed to build for some commits near yours, I modified the LLVM
source using this patch: