This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cselib_record_set breaks due to auto_inc_dec


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]