* except.c (eh_regs): Save results of build_pointer_type to a temp
as FUNCTION_VALUE macro may evaluate its args multiple times.
From-SVN: r40861
+2001-03-27 Alan Modra <alan@linuxcare.com.au>
+
+ * except.c (eh_regs): Save results of build_pointer_type to a temp
+ as FUNCTION_VALUE macro may evaluate its args multiple times.
+
2001-03-26 Mark Mitchell <mark@codesourcery.com>
* c-common.h (DECL_NUM_STMTS): New macro.
{
rtx rcontext, rsp, rra;
unsigned int i;
+ tree t;
+ t = build_pointer_type (void_type_node);
#ifdef FUNCTION_OUTGOING_VALUE
if (outgoing)
- rcontext = FUNCTION_OUTGOING_VALUE (build_pointer_type (void_type_node),
- current_function_decl);
+ rcontext = FUNCTION_OUTGOING_VALUE (t, current_function_decl);
else
#endif
- rcontext = FUNCTION_VALUE (build_pointer_type (void_type_node),
- current_function_decl);
+ rcontext = FUNCTION_VALUE (t, current_function_decl);
#ifdef STATIC_CHAIN_REGNUM
if (outgoing)