This is the mail archive of the
mailing list for the GCC project.
Re: m68k: cfa_offset VS cfa_store_offset
Bernardo Innocenti <email@example.com> writes:
> Andreas Schwab wrote:
>> Bernardo Innocenti <firstname.lastname@example.org> writes:
>>>I noticed something weird in m68k_output_function_prologue().
>>>There are two different variables tracking the cfa offset,
>>>but both seem to be bearing exactly the same value.
>>>Since they're also the same type, I was wondering if we could
>>>just get rid of one of them...
>>>But how did that come to be? Perhaps it had some meaning before
>>>other changes and simplifications made it useless?
>> I'm pretty sure I've copied it from i386.c, see revision 1.4 of that
> Unless I'm misreading that (very simple) code snippet, it still
> seems the two separate variables were useless even there.
Yes, I agree.
Andreas Schwab, SuSE Labs, email@example.com
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."