Message ID | 20160119111952.GB5273@kam.mff.cuni.cz |
---|---|
State | New |
Headers | show |
Index: lto-streamer-out.c =================================================================== --- lto-streamer-out.c (revision 232466) +++ lto-streamer-out.c (working copy) @@ -2320,7 +2320,8 @@ lto_output (void) if (cgraph_node *node = dyn_cast <cgraph_node *> (snode)) { if (lto_symtab_encoder_encode_body_p (encoder, node) - && !node->alias) + && !node->alias + && (!node->thunk.thunk_p || !node->instrumented_version)) { if (flag_checking) {