This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix reload ICE with define-split
Roman Zippel wrote:
An instruction can have multiple REG_INC notes and with your version it
would add a complete set of REG_INC notes for every previous REG_INC note.
IMO it's also a bit inconsequent to add REG_INC notes for a register,
which didn't have one before, only if there was a REG_INC for a different
register.
I'm fine with just recreating existing REG_INC notes or creating REG_INC
for all autoinc expressions (even new ones), I'm just not sure about
something inbetween.
I'm happy for an RTL maintainer to tell me what the right thing is :)
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk