http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54705
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2012-09-26 CC| |ebotcazou at gcc dot | |gnu.org Summary|Building gcc with ADA and |ICE during custom LTO |LTO results in an internal |bootstrap with Ada enabled |error | Ever Confirmed|0 |1 --- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-09-26 08:27:44 UTC --- Well, fiddling with BOOT_CFLAGS is at your own risks, LTO bootstrap works if you use the right procedure: configure --with-build-config=bootstrap-lto and type 'make'. I suspect that the problem comes from the -O3 option. That being said, LTO indeed generates patterns that easily confuse the DWARF back-end. However, I cannot reproduce and this is expected: the reported error can only occur if -g is used during the bootstrap and your script doesn't have it... And ADA is the American with Disabilities Act; the programming language is called Ada, this is the first name of Lady Ada, Countless of Lovelace.