Commit 9338ffe6 by Philip Blundell Committed by Phil Blundell

re PR target/5705 (code generated for ARM interrupt("IRQ") attribute)

2002-02-20  Philip Blundell  <philb@gnu.org>

	PR 5705
	* config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro.

From-SVN: r49911
parent 04fc1394
2002-02-20 Philip Blundell <philb@gnu.org>
PR 5705
* config/arm/arm.h (HARD_REGNO_RENAME_OK): New macro.
2002-02-20 Richard Henderson <rth@redhat.com>
PR c/5615
......
......@@ -1027,6 +1027,13 @@ extern const char * structure_size_string;
16, 17, 18, 19, 20, 21, 22, 23, \
24, 25, 26 \
}
/* Interrupt functions can only use registers that have already been
saved by the prologue, even if they would normally be
call-clobbered. */
#define HARD_REGNO_RENAME_OK(SRC, DST) \
(! IS_INTERRUPT (cfun->machine->func_type) || \
regs_ever_live[DST])
/* Register and constant classes. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment