calls.c (precompute_arguments): Remove PROMOTE_FOR_CALL_ONLY.
authorPaul Brook <paul@codesourcery.com>
Wed, 28 Apr 2004 13:25:59 +0000 (13:25 +0000)
committerPaul Brook <pbrook@gcc.gnu.org>
Wed, 28 Apr 2004 13:25:59 +0000 (13:25 +0000)
* calls.c (precompute_arguments): Remove PROMOTE_FOR_CALL_ONLY.
* function.c (assign_temp): Ditto.
* system.h (PROMOTE_FOR_CALL_ONLY): Poison.

From-SVN: r81247

gcc/ChangeLog
gcc/calls.c
gcc/function.c
gcc/system.h

index c4132f33a5d6bdf465cf0236de479acdc55d47a7..f4c52736d93ac347874c9e4a5fb4b82e0d54e54f 100644 (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.
index 091ea4e026c96b8f5eb6259b8ba6e189a3d6a98e..49be7436ae1ca03c3bf2901342ad0f4ee7d040b8 100644 (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.  */
index 56a3814e941276fc38e21bfb6748414ba69d650e..69f9b8f568b7e020abc41e0979c5f449d51350e7 100644 (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
index 32d4a425d51c1fe2833a12e3d7fbe67c0702e6dd..6e2a26d205fc3264a99a99413be7aa54f7f28ab8 100644 (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  \