]> git.ipfire.org Git - thirdparty/gcc.git/commit
mips.c (machine_function): Remove initialized_mips16_gp_pseudo_p.
authorRichard Sandiford <rdsandiford@googlemail.com>
Sun, 14 Nov 2010 10:29:15 +0000 (10:29 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sun, 14 Nov 2010 10:29:15 +0000 (10:29 +0000)
commit8a7a250d322e4913add44c4bd6d854d25650d389
tree63392bf86d394b857bfc2fdecba35d98613ce065
parentf0852409765073db85d8e804cf2aaf2bf9e6453a
mips.c (machine_function): Remove initialized_mips16_gp_pseudo_p.

gcc/
* config/mips/mips.c (machine_function): Remove
initialized_mips16_gp_pseudo_p.
(mips16_gp_pseudo_reg): Use cfun->machine->mips16_gp_pseudo_rtx to
detect whether a pseudo has already been created.  Unconditionally
create a new one if not.
(mips_pic_base_register): Only call mips16_gp_pseudo_reg when
expanding to rtl.  Create a new pseudo otherwise, if allowed.

From-SVN: r166729
gcc/ChangeLog
gcc/config/mips/mips.c