This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: reload vs adds with clobbers
- From: DJ Delorie <dj at redhat dot com>
- To: weigand at immd1 dot informatik dot uni-erlangen dot de
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 30 May 2003 18:14:44 -0400
- Subject: Re: reload vs adds with clobbers
- References: <200305302210.AAA21176@faui11.informatik.uni-erlangen.de>
> We're having the same problem on s390.
Thanks, I'll look and see what you've done.
> The way I've fixed it is to prevent gen_reload from ever taking that
> path by marking all PLUS expressions that would otherwise go there
> as needing a secondary reload (via SECONDARY_INPUT_RELOAD_CLASS) and
> doing the right thing in reload_insi ...
There's got to be a better way to handle this situation. Why can't
reload just use the right expander?