[PATCH] PR 38156

Zdenek Dvorak rakdver@kam.mff.cuni.cz
Tue Nov 18 18:10:00 GMT 2008


Hi,

> --- 1194,1201 ----
>   
>     VEC_free (basic_block, heap, body);
>   
> !   if (htab_elements (name_copies) == 0 
> !       && (!reduction_list || htab_elements (reduction_list) == 0))
>       {
>         /* It may happen that there is nothing to copy (if there are only
>            loop carried and external variables in the loop).  */

reduction_list is never NULL, so it suffices to check htab_elements (reduction_list) == 0.
Otherwise OK,

Zdenek



More information about the Gcc-patches mailing list