This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [committed] Fix handling of global registers in MIPS prologues


Mikael Pettersson <mikpe@it.uu.se> writes:
> 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?

I've now backported it to 4.4, 4.5 and 4.6.  Sorry for the delay.

Richard


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]