This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH [10/n]: Prepare x32: PR rtl-optimization/49114: Reload failed to handle (set reg:X (plus:X (subreg:X (reg:Y) 0) (const
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: hjl dot tools at gmail dot com (H.J. Lu)
- Cc: gcc-patches at gcc dot gnu dot org, bernds at codesourcery dot com
- Date: Wed, 29 Jun 2011 14:17:13 +0200 (CEST)
- Subject: Re: PATCH [10/n]: Prepare x32: PR rtl-optimization/49114: Reload failed to handle (set reg:X (plus:X (subreg:X (reg:Y) 0) (const
H.J. Lu wrote:
> >> * reload.c (struct replacement): Remove SUBREG_LOC member.
> >> (push_reload): Do not set it.
> >> (push_replacement): Likewise.
> >> (subst_reload): Remove dead code.
> >> (copy_replacements): Remove assertion.
> >> (copy_replacements_1): Do not handle SUBREG_LOC.
> >> (move_replacements): Likewise.
> >> (find_replacement): Remove dead code. Use reload_adjust_reg_for_mode.
> >> Detect subregs via recursive descent instead of via SUBREG_LOC.
> >>
> >
> > It works much better. I am testing it now.
> >
>
> It works. There are no regressions on Linux/ia32 nor Linux/x86-64.
> Can you check it in and mention PR rtl-optimization/49114 ChangeLog?
OK, I've checked the patch in now. Thanks for testing!
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com