> I've many times succesfully bootstrapped GCC with other (older!) versions > (2.8.1, 3.4.6) so it's just random bad luck we ran into this now. I also > verified that your tree.i file compiles with 4.1.3 (prerelease) and 4.2.2 > (prerelease). Mainline obviously works too or nobody could bootstrap. > So I believe the ICE is something confined to the 4.0.x series.
Well, we got build failures on all our gcc 4.3 build machines at AdaCore, using e.g. 3.4.4 or 3.4.6 as the bootstrap compiler. We never use 4.0 as the bootstrap compiler, so your proposed patch won't be sufficient, and the issue seems broader than what you described. Arno