https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77669
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |lto Target| |arm Status|UNCONFIRMED |WAITING Last reconfirmed| |2016-09-21 Ever confirmed|0 |1 --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Unless you can provide a complete testcase that compiles to sth executable it's not possible to help you in debugging this. LTO may cause static variable constructors to run in a different order than when not using LTO (but they still behave according to the language rules which basically make ordering unspecififed AFAIR).