Commit 9e1622ed by Paul Brook Committed by Paul Brook

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
parent e0d4a859
2004-04-28 Paul Brook <paul@codesourcery.com> 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. * config/arm/lib1funcs.asm: Recognize armv5tej and armv6.
2004-04-28 Josef Zlomek <zlomekj@suse.cz> 2004-04-28 Josef Zlomek <zlomekj@suse.cz>
......
...@@ -1394,7 +1394,7 @@ precompute_arguments (int flags, int num_actuals, struct arg_data *args) ...@@ -1394,7 +1394,7 @@ precompute_arguments (int flags, int num_actuals, struct arg_data *args)
args[i].value args[i].value
= convert_modes (args[i].mode, mode, = convert_modes (args[i].mode, mode,
args[i].value, args[i].unsignedp); 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 /* CSE will replace this only if it contains args[i].value
pseudo, so convert it down to the declared mode using pseudo, so convert it down to the declared mode using
a SUBREG. */ a SUBREG. */
......
...@@ -841,7 +841,7 @@ assign_temp (tree type_or_decl, int keep, int memory_required, ...@@ -841,7 +841,7 @@ assign_temp (tree type_or_decl, int keep, int memory_required,
{ {
tree type, decl; tree type, decl;
enum machine_mode mode; enum machine_mode mode;
#ifndef PROMOTE_FOR_CALL_ONLY #ifdef PROMOTE_MODE
int unsignedp; int unsignedp;
#endif #endif
...@@ -851,7 +851,7 @@ assign_temp (tree type_or_decl, int keep, int memory_required, ...@@ -851,7 +851,7 @@ assign_temp (tree type_or_decl, int keep, int memory_required,
decl = NULL, type = type_or_decl; decl = NULL, type = type_or_decl;
mode = TYPE_MODE (type); mode = TYPE_MODE (type);
#ifndef PROMOTE_FOR_CALL_ONLY #ifdef PROMOTE_MODE
unsignedp = TYPE_UNSIGNED (type); unsignedp = TYPE_UNSIGNED (type);
#endif #endif
...@@ -889,7 +889,7 @@ assign_temp (tree type_or_decl, int keep, int memory_required, ...@@ -889,7 +889,7 @@ assign_temp (tree type_or_decl, int keep, int memory_required,
return tmp; return tmp;
} }
#ifndef PROMOTE_FOR_CALL_ONLY #ifdef PROMOTE_MODE
if (! dont_promote) if (! dont_promote)
mode = promote_mode (type, mode, &unsignedp, 0); mode = promote_mode (type, mode, &unsignedp, 0);
#endif #endif
......
...@@ -641,7 +641,7 @@ typedef char _Bool; ...@@ -641,7 +641,7 @@ typedef char _Bool;
FINAL_REG_PARM_STACK_SPACE MAYBE_REG_PARM_STACK_SPACE \ FINAL_REG_PARM_STACK_SPACE MAYBE_REG_PARM_STACK_SPACE \
TRADITIONAL_PIPELINE_INTERFACE DFA_PIPELINE_INTERFACE \ TRADITIONAL_PIPELINE_INTERFACE DFA_PIPELINE_INTERFACE \
DBX_OUTPUT_STANDARD_TYPES BUILTIN_SETJMP_FRAME_VALUE \ DBX_OUTPUT_STANDARD_TYPES BUILTIN_SETJMP_FRAME_VALUE \
SUNOS4_SHARED_LIBRARIES SUNOS4_SHARED_LIBRARIES PROMOTE_FOR_CALL_ONLY
/* Hooks that are no longer used. */ /* Hooks that are no longer used. */
#pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \ #pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment