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

2011-05-29 Thread Richard Sandiford
Mikael Pettersson 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 >

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

2011-04-17 Thread Mikael Pettersson
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

[committed] Fix handling of global registers in MIPS prologues

2011-04-17 Thread Richard Sandiford
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