aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2004-04-28 13:25:59 +0000
committerPaul Brook <pbrook@gcc.gnu.org>2004-04-28 13:25:59 +0000
commit9e1622ed25936c398428b23f352e4f1f55de5424 (patch)
treea6d7c2c182d553bd8130132d0dadb45eb297d476 /gcc/function.c
parente0d4a859ee825a4d428e940edfe2dd4249c6e5b7 (diff)
downloadgcc-9e1622ed25936c398428b23f352e4f1f55de5424.zip
gcc-9e1622ed25936c398428b23f352e4f1f55de5424.tar.gz
gcc-9e1622ed25936c398428b23f352e4f1f55de5424.tar.bz2
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
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 56a3814..69f9b8f 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