This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Reload question
- From: Mark Mitchell <mark at codesourcery dot com>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 25 Jul 2002 11:07:23 -0700
- Subject: Reload question
- Reply-to: mark at codesourcery dot com
In reload, after doing register allocation, we do, in "reload()":
if (reg_renumber[i] < 0)
{
rtx reg = regno_reg_rtx[i];
PUT_CODE (reg, MEM);
XEXP (reg, 0) = addr;
REG_USERVAR_P (reg) = 0;
...
}
That mutates the instruction in place, with the possible result that
it is no longer recognizable.
Who is supposed to be responsible for making the instruction
recognizable again?
Thanks,
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com