https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64037
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ABI, wrong-code Status|UNCONFIRMED |NEW Last reconfirmed| |2014-11-24 Ever confirmed|0 |1 Known to fail| |4.8.2, 4.9.2 --- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- Same issue without -flto but just -Os -fwhole-program. Can also reproduced with just -Os when making 'foo' static. Confirmed.