This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix stack corruption in regrename
- To: Alexandre Oliva <aoliva at redhat dot com>
- Subject: Re: Fix stack corruption in regrename
- From: Bernd Schmidt <bernds at redhat dot com>
- Date: Tue, 31 Jul 2001 16:00:29 +0100 (BST)
- cc: <gcc-patches at gcc dot gnu dot org>
On 31 Jul 2001, Alexandre Oliva wrote:
> it in, and mark all reload-emitted USEs for inheritance purposes with
> a REG_EQUAL note pointing at the USEd value itself, since it's the
> presence of the REG_EQUAL note in a USE insn that tells reload it's ok
> to delete the USE insn, right after the following comment in reload():
>
> /* Make a pass over all the insns and delete all USEs which we inserted
> only to tag a REG_EQUAL note on them. [...]
As I mentioned earlier, I'd really prefer we don't use reg notes; just
change the mode of the new USE (and possibly clear the modes of all insns
at the start of reload).
Bernd