aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2002-08-06 20:39:41 +0000
committerNeil Booth <neil@gcc.gnu.org>2002-08-06 20:39:41 +0000
commit81d41e749d08c865cc86278fbc2e0bb3a584b995 (patch)
tree07baddf8777ee245bc9b9e7e26b93a6cb0dc06e9 /gcc/function.c
parent58551c2335b3f2f16c8341d3bb409d37f8715696 (diff)
downloadgcc-81d41e749d08c865cc86278fbc2e0bb3a584b995.zip
gcc-81d41e749d08c865cc86278fbc2e0bb3a584b995.tar.gz
gcc-81d41e749d08c865cc86278fbc2e0bb3a584b995.tar.bz2
* function.c (TRAMPOLINE_ALIGNMENT): Always defined.
From-SVN: r56078
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 47fa24d..5d53001 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -5697,12 +5697,8 @@ trampoline_address (function)
#else
/* If rounding needed, allocate extra space
to ensure we have TRAMPOLINE_SIZE bytes left after rounding up. */
-#ifdef TRAMPOLINE_ALIGNMENT
#define TRAMPOLINE_REAL_SIZE \
(TRAMPOLINE_SIZE + (TRAMPOLINE_ALIGNMENT / BITS_PER_UNIT) - 1)
-#else
-#define TRAMPOLINE_REAL_SIZE (TRAMPOLINE_SIZE)
-#endif
tramp = assign_stack_local_1 (BLKmode, TRAMPOLINE_REAL_SIZE, 0,
fp ? fp : cfun);
#endif
@@ -5737,7 +5733,6 @@ static rtx
round_trampoline_addr (tramp)
rtx tramp;
{
-#ifdef TRAMPOLINE_ALIGNMENT
/* Round address up to desired boundary. */
rtx temp = gen_reg_rtx (Pmode);
rtx addend = GEN_INT (TRAMPOLINE_ALIGNMENT / BITS_PER_UNIT - 1);
@@ -5747,7 +5742,7 @@ round_trampoline_addr (tramp)
temp, 0, OPTAB_LIB_WIDEN);
tramp = expand_simple_binop (Pmode, AND, temp, mask,
temp, 0, OPTAB_LIB_WIDEN);
-#endif
+
return tramp;
}