Commit 2b261262 by Chung-Lin Tang Committed by Chung-Lin Tang

re PR target/42017 (gcc compiling C for ARM has stopped using r14 in leaf functions?)

2013-05-14  Chung-Lin Tang  <cltang@codesourcery.com>

	PR target/42017
	* config/arm/arm.h (EPILOGUE_USES): Only return true
	for LR_REGNUM after epilogue_completed.

From-SVN: r198879
parent 6e022d7b
2013-05-14 Chung-Lin Tang <cltang@codesourcery.com>
PR target/42017
* config/arm/arm.h (EPILOGUE_USES): Only return true
for LR_REGNUM after epilogue_completed.
2013-05-14 Joern Rennecke <joern.rennecke@embecosm.com>
* config/avr/avr.c (avr_encode_section_info): Bail out if the type
......
......@@ -1651,7 +1651,7 @@ typedef struct
frame. */
#define EXIT_IGNORE_STACK 1
#define EPILOGUE_USES(REGNO) ((REGNO) == LR_REGNUM)
#define EPILOGUE_USES(REGNO) (epilogue_completed && (REGNO) == LR_REGNUM)
/* Determine if the epilogue should be output as RTL.
You should override this if you define FUNCTION_EXTRA_EPILOGUE. */
......
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