Message ID | 20160523162835.GD2962@virgil.suse.cz |
---|---|
State | New |
Headers | show |
diff --git a/gcc/ipa-cp.c b/gcc/ipa-cp.c index 8caa973..4b7f6bb 100644 --- a/gcc/ipa-cp.c +++ b/gcc/ipa-cp.c @@ -2027,7 +2027,8 @@ ipa_get_indirect_edge_target_1 (struct cgraph_edge *ie, ie->indirect_info->offset, ie->indirect_info->by_ref, &from_global_constant); - if (!from_global_constant + if (t + && !from_global_constant && !ie->indirect_info->guaranteed_unmodified) t = NULL_TREE; }