+2004-06-05 Bernardo Innocenti <bernie@develer.com>
+
+ * regclass.c (init_reg_sets): Check for missing registers in target
+ initializer macros FIXED_REGISTERS and CALL_USED_REGISTERS.
+
2004-06-05 Zack Weinberg <zack@codesourcery.com>
* Makefile.in (MKDEPS_H): New shorthand.
SET_HARD_REG_BIT (reg_class_contents[i], j);
}
+ /* Sanity check: make sure the target macros FIXED_REGISTERS and
+ CALL_USED_REGISTERS had the right number of initializers. */
+ if (sizeof fixed_regs != sizeof initial_fixed_regs
+ || sizeof call_used_regs != sizeof initial_call_used_regs)
+ abort();
+
memcpy (fixed_regs, initial_fixed_regs, sizeof fixed_regs);
memcpy (call_used_regs, initial_call_used_regs, sizeof call_used_regs);
memset (global_regs, 0, sizeof global_regs);