From: Paul Brook Date: Wed, 28 Apr 2004 13:25:59 +0000 (+0000) Subject: calls.c (precompute_arguments): Remove PROMOTE_FOR_CALL_ONLY. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9e1622ed25936c398428b23f352e4f1f55de5424;p=gcc.git calls.c (precompute_arguments): Remove PROMOTE_FOR_CALL_ONLY. * calls.c (precompute_arguments): Remove PROMOTE_FOR_CALL_ONLY. * function.c (assign_temp): Ditto. * system.h (PROMOTE_FOR_CALL_ONLY): Poison. From-SVN: r81247 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c4132f33a5d..f4c52736d93 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-04-28 Paul Brook + + * calls.c (precompute_arguments): Remove PROMOTE_FOR_CALL_ONLY. + * function.c (assign_temp): Ditto. + * system.h (PROMOTE_FOR_CALL_ONLY): Poison. + 2004-04-28 Paul Brook * config/arm/lib1funcs.asm: Recognize armv5tej and armv6. diff --git a/gcc/calls.c b/gcc/calls.c index 091ea4e026c..49be7436ae1 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -1394,7 +1394,7 @@ precompute_arguments (int flags, int num_actuals, struct arg_data *args) args[i].value = convert_modes (args[i].mode, mode, args[i].value, args[i].unsignedp); -#ifdef PROMOTE_FOR_CALL_ONLY +#if defined(PROMOTE_FUNCTION_MODE) && !defined(PROMOTE_MODE) /* CSE will replace this only if it contains args[i].value pseudo, so convert it down to the declared mode using a SUBREG. */ diff --git a/gcc/function.c b/gcc/function.c index 56a3814e941..69f9b8f568b 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -841,7 +841,7 @@ assign_temp (tree type_or_decl, int keep, int memory_required, { tree type, decl; enum machine_mode mode; -#ifndef PROMOTE_FOR_CALL_ONLY +#ifdef PROMOTE_MODE int unsignedp; #endif @@ -851,7 +851,7 @@ assign_temp (tree type_or_decl, int keep, int memory_required, decl = NULL, type = type_or_decl; mode = TYPE_MODE (type); -#ifndef PROMOTE_FOR_CALL_ONLY +#ifdef PROMOTE_MODE unsignedp = TYPE_UNSIGNED (type); #endif @@ -889,7 +889,7 @@ assign_temp (tree type_or_decl, int keep, int memory_required, return tmp; } -#ifndef PROMOTE_FOR_CALL_ONLY +#ifdef PROMOTE_MODE if (! dont_promote) mode = promote_mode (type, mode, &unsignedp, 0); #endif diff --git a/gcc/system.h b/gcc/system.h index 32d4a425d51..6e2a26d205f 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -641,7 +641,7 @@ typedef char _Bool; FINAL_REG_PARM_STACK_SPACE MAYBE_REG_PARM_STACK_SPACE \ TRADITIONAL_PIPELINE_INTERFACE DFA_PIPELINE_INTERFACE \ DBX_OUTPUT_STANDARD_TYPES BUILTIN_SETJMP_FRAME_VALUE \ - SUNOS4_SHARED_LIBRARIES + SUNOS4_SHARED_LIBRARIES PROMOTE_FOR_CALL_ONLY /* Hooks that are no longer used. */ #pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \