[RS6000] PR69645, -ffixed-reg ignored
authorAlan Modra <amodra@gmail.com>
Sat, 30 Apr 2016 00:34:16 +0000 (10:04 +0930)
committerAlan Modra <amodra@gcc.gnu.org>
Sat, 30 Apr 2016 00:34:16 +0000 (10:04 +0930)
commit223de6dae11fe1d12c10511b79a33e977e1eeaba
tree7859a6585634ae7871b9850b757d702a3a7d0126
parentfd1c95f7fb199ee3ab5dfe1c54a70df1b6fb6290
[RS6000] PR69645, -ffixed-reg ignored

Treat -ffixed-reg as we do for global asm regs.

PR target/69645
* config/rs6000/rs6000.c (fixed_reg_p): New function.
(fixed_regs_p): Rename from global_regs_p.  Call fixed_reg_p.
Update all uses.

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