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: 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


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