[Bug c/41483] gcc fails to elide indirect function call through immutable static variable

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Sep 27 19:40:00 GMT 2009



------- Comment #1 from rguenth at gcc dot gnu dot org  2009-09-27 19:39 -------
Try providing a real prototype for g:

static void g(void)
{
    h();
}


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41483



More information about the Gcc-bugs mailing list