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
This commit is contained in:
Paul Brook 2004-04-28 13:25:59 +00:00 committed by Paul Brook
parent e0d4a859ee
commit 9e1622ed25
4 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2004-04-28 Paul Brook <paul@codesourcery.com>
* 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 <paul@codesourcery.com>
* config/arm/lib1funcs.asm: Recognize armv5tej and armv6.

View File

@ -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. */

View File

@ -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

View File

@ -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 \