This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: Avoid automodification in ARM call addresses
As far as the original patch goes, my inclination would be to write it
as a new operand predicate (or maybe you could use the existing
offsettable_memory_operand which doesn't seem to be used by anything).
But your way is approved if you like it better.
I'm still not sure why the conditions on call_mem and call_value_mem
are not identical, but I see that that was there before your patch.
Perhaps an ARM maintainer can comment.
Ian