This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: reload inheritance error breaks openssl on s390


Alexandre Oliva <aoliva@redhat.com> writes:

> From  Alexandre Oliva  <aoliva@redhat.com>
> 
> 	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.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]