This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA]: Fix reload inheritance when stack pointer is reloaded
- To: Stephane Carrez <Stephane dot Carrez at worldnet dot fr>
- Subject: Re: [RFA]: Fix reload inheritance when stack pointer is reloaded
- From: Bernd Schmidt <bernds at redhat dot com>
- Date: Sat, 7 Jul 2001 18:38:49 +0100 (BST)
- cc: <gcc-patches at gcc dot gnu dot org>
On Sat, 7 Jul 2001, Stephane Carrez wrote:
>
> In general this kind of problem is solved in reload by looking at the
> REG_INC notes and invalidating the reload information (so that inheritance does
> not occur). Unfortunately, the push/pop don't have the REG_INC notes, so
> they are not found.
Since we run into problems like this all the time, it may be best to make
the compiler generate a REG_INC note for every autoinc addressing mode.
Bernd