http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51843
Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2012-01-13 Ever Confirmed|0 |1 --- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-13 09:55:44 UTC --- Yep. This is because of the weird case VAR_DECL: if (((TREE_STATIC (op) || DECL_EXTERNAL (op)) && !DECL_DLLIMPORT_P (op)) in tree.c:staticp and decl_address_ip_invariant_p which both do not make any sense to me.