diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2002-08-06 20:39:41 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2002-08-06 20:39:41 +0000 |
commit | 81d41e749d08c865cc86278fbc2e0bb3a584b995 (patch) | |
tree | 07baddf8777ee245bc9b9e7e26b93a6cb0dc06e9 /gcc | |
parent | 58551c2335b3f2f16c8341d3bb409d37f8715696 (diff) | |
download | gcc-81d41e749d08c865cc86278fbc2e0bb3a584b995.zip gcc-81d41e749d08c865cc86278fbc2e0bb3a584b995.tar.gz gcc-81d41e749d08c865cc86278fbc2e0bb3a584b995.tar.bz2 |
* function.c (TRAMPOLINE_ALIGNMENT): Always defined.
From-SVN: r56078
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/function.c | 7 |
2 files changed, 5 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e035658..f833f2a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2002-08-06 Neil Booth <neil@daikokuya.co.uk> + * function.c (TRAMPOLINE_ALIGNMENT): Always defined. + +2002-08-06 Neil Booth <neil@daikokuya.co.uk> + * cppinit.c (struct lang_flags): Rename trigraphs std. (set_lang): Update. * cpplib.h (struct cpp_options): New member std. 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; } |