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]

Re: Fix stack corruption in regrename


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


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