| Submitter | Richard Guenther |
|---|---|
| Date | Dec. 13, 2012, 3:17 p.m. |
| Message ID | <alpine.LNX.2.00.1212131616030.14089@zhemvz.fhfr.qr> |
| Download | mbox | patch |
| Permalink | /patch/206116/ |
| State | New |
| Headers | show |
Comments
Patch
Index: gcc/varpool.c =================================================================== --- gcc/varpool.c (revision 194473) +++ gcc/varpool.c (working copy) @@ -358,8 +358,7 @@ varpool_remove_unreferenced_decls (void) && (!varpool_can_remove_if_no_refs (node) /* We just expanded all function bodies. See if any of them needed the variable. */ - || (!DECL_EXTERNAL (node->symbol.decl) - && DECL_RTL_SET_P (node->symbol.decl)))) + || DECL_RTL_SET_P (node->symbol.decl))) { enqueue_node (node, &first); if (cgraph_dump_file)