* config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
call-used registers (call-saved registers must still be contiguous
and end with r31, of course).
Co-Authored-By: Geoff Keating <geoffk@cygnus.com>
Co-Authored-By: Melissa O'Neill <oneill@cs.sfu.ca>
From-SVN: r29181
+Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
+ Melissa O'Neill <oneill@cs.sfu.ca>
+ Geoffrey Keating <geoffk@cygnus.com>
+
+ * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
+ call-used registers (call-saved registers must still be contiguous
+ and end with r31, of course).
+
Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
* c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
/* Find lowest numbered live register. */
for (first_reg = 13; first_reg <= 31; first_reg++)
- if (regs_ever_live[first_reg])
+ if (regs_ever_live[first_reg] && ! call_used_regs[first_reg])
break;
if (profile_flag)