This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] PR 38156
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