This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [committed] Fix handling of global registers in MIPS prologues
- From: Mikael Pettersson <mikpe at it dot uu dot se>
- To: Richard Sandiford <rdsandiford at googlemail dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 17 Apr 2011 22:18:24 +0200
- Subject: Re: [committed] Fix handling of global registers in MIPS prologues
- References: <877hashjjb.fsf@firetop.home>
Richard Sandiford writes:
> PR 45074 showed up a rather embarrassing oversight in the MIPS backend:
> global registers were still being treated as call-saved.
>
> Fixed with the attached patch. Tested on mips64-linux-gnu and applied.
>
> Richard
>
>
> gcc/
> * config/mips/mips.c (mips_cfun_call_saved_reg_p): Handle global
> registers.
This bug is also PR target/43700, a regression since gcc-4.4.
Do you want to backport the fix, or perhaps just mark PR43700
as fixed in 4.7.0?
/Mikael