Commit b5395c33 by Steve Ellcey Committed by Steve Ellcey

re PR rtl-optimization/22472 (testsuite failure gcc.c-torture/compile/930621-1.c…

re PR rtl-optimization/22472 (testsuite failure gcc.c-torture/compile/930621-1.c -O3 -funroll-loops)

	PR rtl-optimization/22472
	* config/pa/pa.h (HARD_REGNO_RENAME_OK): Define.

From-SVN: r102405
parent 6c8a62bb
2005-07-26 Steve Ellcey <sje@cup.hp.com>
PR rtl-optimization/22472
* config/pa/pa.h (HARD_REGNO_RENAME_OK): Define.
2005-07-26 Steven Bosscher <stevenb@suse.de> 2005-07-26 Steven Bosscher <stevenb@suse.de>
PR tree-optimization/22504 PR tree-optimization/22504
......
...@@ -358,6 +358,12 @@ typedef struct machine_function GTY(()) ...@@ -358,6 +358,12 @@ typedef struct machine_function GTY(())
#define FRAME_POINTER_REQUIRED \ #define FRAME_POINTER_REQUIRED \
(current_function_calls_alloca) (current_function_calls_alloca)
/* Don't allow hard registers to be renamed into r2 unless r2
is already live or already being saved (due to eh). */
#define HARD_REGNO_RENAME_OK(OLD_REG, NEW_REG) \
((NEW_REG) != 2 || regs_ever_live[2] || current_function_calls_eh_return)
/* C statement to store the difference between the frame pointer /* C statement to store the difference between the frame pointer
and the stack pointer values immediately after the function prologue. and the stack pointer values immediately after the function prologue.
......
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