reload1.c (new_spill_reg): Improve fixed or forbidden register spill error message.
* reload1.c (new_spill_reg): Improve fixed or forbidden register spill error message. From-SVN: r16483
This commit is contained in:
parent
1f1e15454f
commit
da27534458
@ -1,3 +1,8 @@
|
||||
Thu Nov 13 20:37:33 1997 Michael Meissner <meissner@tiktok.cygnus.com>
|
||||
|
||||
* reload1.c (new_spill_reg): Improve fixed or forbidden register
|
||||
spill error message.
|
||||
|
||||
Thu Nov 13 20:29:08 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* prefix.c: Use stdarg.h only ifdef __STDC__. Otherwise,
|
||||
|
@ -2374,9 +2374,12 @@ new_spill_reg (i, class, max_needs, max_nongroups, global, dumpfile)
|
||||
abort (); /* Caller failed to find any register. */
|
||||
|
||||
if (fixed_regs[regno] || TEST_HARD_REG_BIT (forbidden_regs, regno))
|
||||
fatal ("fixed or forbidden register was spilled.\n\
|
||||
{
|
||||
static char *reg_class_names[] = REG_CLASS_NAMES;
|
||||
fatal ("fixed or forbidden register %d (%s) was spilled for class %s.\n\
|
||||
This may be due to a compiler bug or to impossible asm\n\
|
||||
statements or clauses.");
|
||||
statements or clauses.", regno, reg_names[regno], reg_class_names[class]);
|
||||
}
|
||||
|
||||
/* Make reg REGNO an additional reload reg. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user