Re: [RS6000] Correct PIC_OFFSET_TABLE_REGNUM

2016-05-04 Thread David Edelsohn
On Wed, May 4, 2016 at 1:30 AM, Alan Modra wrote: > Leaving this as r30 results in pic_offset_table_rtx of (reg 30) > for -m64, which is completely bogus. Various rtl analysis predicate > functions treat pic_offset_table_rtx specially.. > > Bootsrapped etc. OK to apply? > > * config/rs60

[RS6000] Correct PIC_OFFSET_TABLE_REGNUM

2016-05-03 Thread Alan Modra
Leaving this as r30 results in pic_offset_table_rtx of (reg 30) for -m64, which is completely bogus. Various rtl analysis predicate functions treat pic_offset_table_rtx specially.. Bootsrapped etc. OK to apply? * config/rs6000/rs6000.h (PIC_OFFSET_TABLE_REGNUM): Correct. diff --git a/g