http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55546
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Keywords| |missed-optimization Last reconfirmed| |2012-12-03 Component|c |middle-end CC| |hubicka at gcc dot gnu.org, | |rguenth at gcc dot gnu.org Ever Confirmed|0 |1 Known to fail| |4.8.0 Severity|normal |enhancement --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> 2012-12-03 11:49:41 UTC --- That can trivially happen if the not usedness address-taken is discovered too late by the compiler to temove the function. Testcase confirmed.