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 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.

-- 
Alexandre Oliva, freedom fighter    http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/   FSF Latin America board member
Free Software Evangelist      Red Hat Brazil Compiler Engineer


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