Message ID | alpine.LNX.2.00.1107011310340.810@zhemvz.fhfr.qr |
---|---|
State | New |
Headers | show |
Index: gcc/cgraph.h =================================================================== --- gcc/cgraph.h (revision 175749) +++ gcc/cgraph.h (working copy) @@ -947,7 +947,8 @@ varpool_can_remove_if_no_refs (struct va static inline bool varpool_all_refs_explicit_p (struct varpool_node *vnode) { - return (!vnode->externally_visible + return (vnode->analyzed + && !vnode->externally_visible && !vnode->used_from_other_partition && !vnode->force_output); }