[RS6000] Simplify setting of fixed_regs[RS6000_PIC_OFFSET_TABLE_REGNUM]
authorAlan Modra <amodra@gmail.com>
Sat, 30 Apr 2016 00:33:26 +0000 (10:03 +0930)
committerAlan Modra <amodra@gcc.gnu.org>
Sat, 30 Apr 2016 00:33:26 +0000 (10:03 +0930)
commitfd1c95f7fb199ee3ab5dfe1c54a70df1b6fb6290
treeaa580ecf3695f3a37ffcfdba2880670394aff9a0
parentde3259f2281a781dc99cff5e4eebe456f75899d4
[RS6000] Simplify setting of fixed_regs[RS6000_PIC_OFFSET_TABLE_REGNUM]

This makes the conditions look the same as other places that deal with
RS6000_PIC_OFFSET_TABLE_REGNUM, eg. first_reg_to_save.  No functional
changes.

* config/rs6000/rs6000.c (rs6000_conditional_register_usage):
Remove redundant PIC_OFFSET_TABLE_REGNUM test.  Replace with
flag_pic test for Darwin.

From-SVN: r235669
gcc/ChangeLog
gcc/config/rs6000/rs6000.c