[RS6000] Correct PIC_OFFSET_TABLE_REGNUM
authorAlan Modra <amodra@gmail.com>
Wed, 4 May 2016 13:23:58 +0000 (22:53 +0930)
committerAlan Modra <amodra@gcc.gnu.org>
Wed, 4 May 2016 13:23:58 +0000 (22:53 +0930)
commit24f77f59d12ad05d8b0c1dc1faae4f698d12da3f
treecbf264f08b880370e3148af0ec4e2e4c2df64e6b
parent967245d1f63076dde846f0201a0fba05c334a3e6
[RS6000] Correct PIC_OFFSET_TABLE_REGNUM

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

* config/rs6000/rs6000.h (PIC_OFFSET_TABLE_REGNUM): Correct.

From-SVN: r235876
gcc/ChangeLog
gcc/config/rs6000/rs6000.h