cselib_record_set breaks due to auto_inc_dec
Paulo J. Matos
paulo@matos-sorge.com
Mon Dec 24 13:46:00 GMT 2012
On 22/12/12 10:13, Alexandre Oliva wrote:
> On Dec 20, 2012, "Paulo Matos" <pmatos@broadcom.com> wrote:
>
>> This doesn't look sensible to me (but I might be overlooking a reason why we want to do so) in the context of cselib_record_sets, however, I think cselib_record_sets should instead have the patch applied:
>> - for_each_inc_dec (&insn, cselib_record_autoinc_cb, &data);
>> + for_each_inc_dec (&body, cselib_record_autoinc_cb, &data);
>
> Yeah, that makes sense. Walking over REG_NOTES was surely unexpected to
> me.
>
Thanks for your comment, I will prepare a patch after this holiday period.
Cheers,
Paulo Matos
More information about the Gcc
mailing list