This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix stack corruption in regrename
On Jul 31, 2001, Bernd Schmidt <bernds@redhat.com> wrote:
> 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;
Oops, sorry, I had forgotten about this :-(
> just change the mode of the new USE (and possibly clear the modes of
> all insns at the start of reload).
Do you mean setting the mode of the INSN or the mode of the USE
itself? Which mode would you prefer?
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me