Mikael Pettersson <mi...@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