This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] rs6000.h: Remove STRICT_ARGUMENT_NAMING.


Hi,

Attached is a patch to remove STRICT_ARGUMENT_NAMING in rs6000.h.

In rs6000, TARGET_STRICT_ARGUMENT_NAMING is defined to be
hook_bool_CUMULATIVE_ARGS_true, not default_strict_argument_naming, so
defining STRICT_ARGUMENT_NAMING has no effect because
STRICT_ARGUMENT_NAMING is used only in
default_strict_argument_naming() in targhooks.c.

Built cc1 for powerpc-unknown-linux-gnu.  OK to apply?

Kazu Hirata

2004-01-14  Kazu Hirata  <kazu@cs.umass.edu>

	* config/rs6000/rs6000.h (STRICT_ARGUMENT_NAMING): Remove.

Index: rs6000.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/rs6000.h,v
retrieving revision 1.306
diff -u -r1.306 rs6000.h
--- rs6000.h	12 Jan 2004 08:11:28 -0000	1.306
+++ rs6000.h	14 Jan 2004 21:32:17 -0000
@@ -1862,10 +1862,6 @@
 #define PAD_VARARGS_DOWN \
    (FUNCTION_ARG_PADDING (TYPE_MODE (type), type) == downward)
 
-/* Define this macro to be a nonzero value if the location where a function
-   argument is passed depends on whether or not it is a named argument.  */
-#define STRICT_ARGUMENT_NAMING 1
-
 /* Output assembler code to FILE to increment profiler label # LABELNO
    for profiling a function entry.  */
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]