summaryrefslogtreecommitdiff
path: root/gcc/calls.c
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-21 01:03:20 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-21 01:03:20 +0000
commitfb154d03792315a7547dfd957b83582ba92d0731 (patch)
tree0d2e31c7d45edaa26df7e496bfbfff4c394061f9 /gcc/calls.c
parentfd96eeef7576d1d0ec509a6b4bf38af2c77e6d8f (diff)
downloadgcc-fb154d03792315a7547dfd957b83582ba92d0731.tar.gz
* system.h: Poison NO_RECURSIVE_FUNCTION_CSE.
* calls.c (prepare_call_address): Don't test NO_RECURSIVE_FUNCTION_CSE. * config/arc/arc.h (NO_RECURSIVE_FUNCTION_CSE): Don't define. * config/arm/arm.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. * config/avr/avr.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. * config/frv/frv.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. * config/i386/i386.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. * config/ip2k/ip2k.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. * config/iq2000/iq2000.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. * config/m32r/m32r.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. * config/m68k/m68k.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. * config/mcore/mcore.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. * config/mips/mips.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. * config/stormy16/stormy16.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. * config/xtensa/xtensa.h (NO_RECURSIVE_FUNCTION_CSE): Likewise. * config/sh/sh.h: Remove NO_RECURSIVE_FUNCTION_CSE comment. * doc/tm.texi (Costs): Remove documentation for NO_RECURSIVE_FUNCTION_CSE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82084 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/calls.c')
-rw-r--r--gcc/calls.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/calls.c b/gcc/calls.c
index 35021ea137f..419f45881a1 100644
--- a/gcc/calls.c
+++ b/gcc/calls.c
@@ -297,10 +297,7 @@ prepare_call_address (rtx funexp, rtx static_chain_value,
{
#ifndef NO_FUNCTION_CSE
if (optimize && ! flag_no_function_cse)
-#ifdef NO_RECURSIVE_FUNCTION_CSE
- if (fndecl != current_function_decl)
-#endif
- funexp = force_reg (Pmode, funexp);
+ funexp = force_reg (Pmode, funexp);
#endif
}