sh.h (PROMOTE_FUNCTION_ARGS): Remove.
authorKazu Hirata <kazu@cs.umass.edu>
Sun, 25 Jan 2004 20:23:09 +0000 (20:23 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Sun, 25 Jan 2004 20:23:09 +0000 (20:23 +0000)
* config/sh/sh.h (PROMOTE_FUNCTION_ARGS): Remove.
(PROMOTE_FUNCTION_RETURN): Likewise.

From-SVN: r76584

gcc/ChangeLog
gcc/config/sh/sh.h

index edb980391d22a53822a8d351524309dd5a957f2a..b9492736dd10bb859a8cef9859e1f70eec509190 100644 (file)
@@ -1,3 +1,8 @@
+2004-01-25  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/sh/sh.h (PROMOTE_FUNCTION_ARGS): Remove.
+       (PROMOTE_FUNCTION_RETURN): Likewise.
+
 2004-01-25  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/mn10300/mn10300-protos.h: Remove the prototype for
index d035f67f36a6105a36906a526889051bd1affaa2..5355d0a407b340f6cb5fb44a0a49765a84d26144 100644 (file)
@@ -3198,13 +3198,6 @@ extern int rtx_equal_function_value_matters;
     (UNSIGNEDP) = ((MODE) == SImode ? 0 : (UNSIGNEDP)),        \
     (MODE) = (TARGET_SH1 ? SImode : DImode);
 
-/* Defining PROMOTE_FUNCTION_ARGS eliminates some unnecessary zero/sign
-   extensions applied to char/short functions arguments.  Defining
-   PROMOTE_FUNCTION_RETURN does the same for function returns.  */
-
-#define PROMOTE_FUNCTION_ARGS
-#define PROMOTE_FUNCTION_RETURN
-
 #define MAX_FIXED_MODE_SIZE (TARGET_SH5 ? 128 : 64)
 
 /* ??? Define ACCUMULATE_OUTGOING_ARGS?  This is more efficient than pushing