[ipa-prop] set m_vr and bits to NULL in ipcp_transform_function

Jan Hubicka hubicka@ucw.cz
Tue Oct 4 14:45:00 GMT 2016


> Bootstrap+test in progress on x86_64-unknown-linux-gnu.
> OK to commit if passes ?
> 
> Thanks,
> Prathamesh

> diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c
> index 5ed9bbf..d71ffcf 100644
> --- a/gcc/ipa-prop.c
> +++ b/gcc/ipa-prop.c
> @@ -5667,6 +5667,9 @@ ipcp_transform_function (struct cgraph_node *node)
>    fbi.bb_infos.release ();
>    free_dominance_info (CDI_DOMINATORS);
>    (*ipcp_transformations)[node->uid].agg_values = NULL;
> +  (*ipcp_transformations)[node->uid].bits = NULL;
> +  (*ipcp_transformations)[node->uid].m_vr = NULL;
> +
OK (with changelog)

Honza
>    descriptors.release ();
>  
>    if (!something_changed)



More information about the Gcc-patches mailing list