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