[patch] sh: Remove macros that have been hookized.
Kazu Hirata
kazu@cs.umass.edu
Sun Jan 18 22:54:00 GMT 2004
Hi,
Attached is a patch to remove macros that have already been hookized.
Built cc1 of sh-elf. OK to apply?
Kazu Hirata
2004-01-18 Kazu Hirata <kazu@cs.umass.edu>
* config/sh/sh.h (PROMOTE_FUNCTION_ARGS): Remove.
(PROMOTE_FUNCTION_RETURN): Likewise.
Index: sh.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sh/sh.h,v
retrieving revision 1.230
diff -u -r1.230 sh.h
--- sh.h 6 Jan 2004 04:21:52 -0000 1.230
+++ sh.h 18 Jan 2004 22:28:14 -0000
@@ -3198,13 +3198,6 @@
(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
More information about the Gcc-patches
mailing list