http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51523
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |mingw32 Status|UNCONFIRMED |WAITING Last reconfirmed| |2011-12-13 Ever Confirmed|0 |1 --- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-12-13 11:05:31 UTC --- I think you need -fwhole-program as mingw32 is not using a linker plugin(?) If so, this works as intended and the bug is invalid.