On Wed, Nov 12, 2014 at 01:51:01PM -0800, H.J. Lu wrote: > > So, all in all, SET_REGNO sounds inappropriate to me, everywhere else > > gen_raw_REG or gen_rtx_REG is used instead, so IMNSHO you should do the > > same. > > > > Jakub > > It makes sense. I checked in the following patch.
gen_raw_REG would be better, the difference is that gen_rtx_REG might in theory return you pic_offset_table_rtx again. Anyway, I don't think anything is needed for release branches, pic_offset_table_rtx should be initialized there just once and not changed afterwards. Jakub