This is the mail archive of the
mailing list for the GCC project.
Re: reload inheritance error breaks openssl on s390
Alexandre Oliva <email@example.com> writes:
> From Alexandre Oliva <firstname.lastname@example.org>
> PR target/28146
> * reload.h (reg_equiv_alt_mem_list): New declaration.
> * reload1.c (reg_equiv_alt_mem_list): New definition.
> (reload): Initialize it and release it.
> (delete_output_reload): Use it.
> * reload.c (push_reg_equiv_alt_mem): New function.
> (find_reloads_toplev): Call it.
> (find_reloads_address, find_reloads_address_1): Likewise.
> (find_reloads_subreg_address): Likewise.
> +/* Add NEW to reg_equiv_alt_mem_list[REGNO] if it's different from
> + ORIG and not present in the list yet. */
> +static inline void
> +push_reg_equiv_alt_mem (int regno, rtx new, rtx orig)
Don't make this function inline; it's sufficiently nontrivial to let
the compiler decide.
Approved with that change if it passes your bootstraps and tests.
Thanks for sticking with this.