Commit 8ef20026 by Hans-Peter Nilsson Committed by Hans-Peter Nilsson

re PR middle-end/38609 (gcc.c-torture/execute/built-in-setjmp.c execute -O2 and above)

	PR middle-end/38609
	* config/cris/cris.h (FRAME_POINTER_REQUIRED): Force for all
	functions with dynamic stack-pointer adjustments.

From-SVN: r144951
parent f75d61d0
2009-03-19 Hans-Peter Nilsson <hp@axis.com>
PR middle-end/38609
* config/cris/cris.h (FRAME_POINTER_REQUIRED): Force for all
functions with dynamic stack-pointer adjustments.
2009-03-19 Ben Elliston <bje@au.ibm.com> 2009-03-19 Ben Elliston <bje@au.ibm.com>
* doc/invoke.texi (RS/6000 and PowerPC Options): Fix -msdata-data * doc/invoke.texi (RS/6000 and PowerPC Options): Fix -msdata-data
......
...@@ -851,8 +851,9 @@ enum reg_class ...@@ -851,8 +851,9 @@ enum reg_class
/* Node: Elimination */ /* Node: Elimination */
/* Really only needed if the stack frame has variable length (alloca /* Really only needed if the stack frame has variable length (alloca
or variable sized local arguments (GNU C extension). */ or variable sized local arguments (GNU C extension). See PR39499 and
#define FRAME_POINTER_REQUIRED 0 PR38609 for the reason this isn't just 0. */
#define FRAME_POINTER_REQUIRED (!current_function_sp_is_unchanging)
#define ELIMINABLE_REGS \ #define ELIMINABLE_REGS \
{{ARG_POINTER_REGNUM, STACK_POINTER_REGNUM}, \ {{ARG_POINTER_REGNUM, STACK_POINTER_REGNUM}, \
......
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