]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
system.h (FUNCTION_ARG_KEEP_AS_REFERENCE): Poison.
authorKazu Hirata <kazu@cs.umass.edu>
Tue, 3 Feb 2004 00:52:33 +0000 (00:52 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Tue, 3 Feb 2004 00:52:33 +0000 (00:52 +0000)
* system.h (FUNCTION_ARG_KEEP_AS_REFERENCE): Poison.
* config/frv/frv-protos.h: Remove the prototype for
frv_function_arg_keep_as_reference.
* config/frv/frv.c (frv_function_arg_keep_as_reference):
Remove.
* config/frv/frv.h (FUNCTION_ARG_KEEP_AS_REFERENCE): Likewise.
* config/stormy16/stormy16.h: Remove the commented-out
definition of FUNCTION_ARG_KEEP_AS_REFERENCE.

From-SVN: r77148

gcc/ChangeLog
gcc/config/frv/frv-protos.h
gcc/config/frv/frv.c
gcc/config/frv/frv.h
gcc/config/stormy16/stormy16.h
gcc/system.h

index 6af3e30dc7176c746ff013aaa2e543ece1c23460..3ca1898728bad630e6518b4b43b340faef05a5b2 100644 (file)
@@ -1,3 +1,14 @@
+2004-02-02  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * system.h (FUNCTION_ARG_KEEP_AS_REFERENCE): Poison.
+       * config/frv/frv-protos.h: Remove the prototype for
+       frv_function_arg_keep_as_reference.
+       * config/frv/frv.c (frv_function_arg_keep_as_reference):
+       Remove.
+       * config/frv/frv.h (FUNCTION_ARG_KEEP_AS_REFERENCE): Likewise.
+       * config/stormy16/stormy16.h: Remove the commented-out
+       definition of FUNCTION_ARG_KEEP_AS_REFERENCE.
+
 2004-02-03  Alan Modra  <amodra@bigpond.net.au>
 
        PR target/13914
index 5cea43b74d0ac83de71be339ae8443a735b5d11c..ff720331fbec31b085175eadab1127a859ae334f 100644 (file)
@@ -92,10 +92,6 @@ extern int frv_function_arg_callee_copies    (CUMULATIVE_ARGS *,
                                                 enum machine_mode,
                                                 tree, int);
 
-extern int frv_function_arg_keep_as_reference  (CUMULATIVE_ARGS *,
-                                                enum machine_mode,
-                                                tree, int);
-
 extern void frv_setup_incoming_varargs         (CUMULATIVE_ARGS *,
                                                 enum machine_mode,
                                                 tree, int *, int);
index 04628c859ba5eb1d642199eb74ed9a26074bf8df..ac3a792b55cf3ad740020b59d497a0bd8199655f 100644 (file)
@@ -3118,19 +3118,6 @@ frv_function_arg_callee_copies (CUMULATIVE_ARGS *cum ATTRIBUTE_UNUSED,
   return 0;
 }
 
-/* If defined, a C expression that indicates when it is more desirable to keep
-   an argument passed by invisible reference as a reference, rather than
-   copying it to a pseudo register.  */
-
-int
-frv_function_arg_keep_as_reference (CUMULATIVE_ARGS *cum ATTRIBUTE_UNUSED,
-                                    enum machine_mode mode ATTRIBUTE_UNUSED,
-                                    tree type ATTRIBUTE_UNUSED,
-                                    int named ATTRIBUTE_UNUSED)
-{
-  return 0;
-}
-
 \f
 /* Return true if a register is ok to use as a base or index register.  */
 
index d111f3648e1c76bb5cda082860be16b58b1363b3..7a0e0475778a593b97099d33bb2a0494df565b5a 100644 (file)
@@ -1912,12 +1912,6 @@ struct machine_function GTY(())
 #define FUNCTION_ARG_CALLEE_COPIES(CUM, MODE, TYPE, NAMED)             \
   frv_function_arg_callee_copies (&CUM, MODE, TYPE, NAMED)
 
-/* If defined, a C expression that indicates when it is more desirable to keep
-   an argument passed by invisible reference as a reference, rather than
-   copying it to a pseudo register.  */
-#define FUNCTION_ARG_KEEP_AS_REFERENCE(CUM, MODE, TYPE, NAMED)         \
-  frv_function_arg_keep_as_reference (&CUM, MODE, TYPE, NAMED)
-
 /* A C type for declaring a variable that is used as the first argument of
    `FUNCTION_ARG' and other related values.  For some target machines, the type
    `int' suffices and can hold the number of bytes of argument so far.
index 64d6cc96d05b8826de745071f5df1773b58d8052..726ef4b313d59dd4f40585a1f0f408fd11d518fa 100644 (file)
@@ -420,11 +420,6 @@ enum reg_class
 
 #define FUNCTION_ARG_PASS_BY_REFERENCE(CUM, MODE, TYPE, NAMED) 0
 
-/* If defined, a C expression that indicates when it is more
-   desirable to keep an argument passed by invisible reference as a
-   reference, rather than copying it to a pseudo register.  */
-/* #define FUNCTION_ARG_KEEP_AS_REFERENCE(CUM, MODE, TYPE, NAMED) */
-
 /* For this platform, the value of CUMULATIVE_ARGS is the number of words
    of arguments that have been passed in registers so far.  */
 #define CUMULATIVE_ARGS int
index 52a9eb7d42ea1026cde74b83c065c83222efba4c..6c4c52264ece893690b3ec271656645f8ce9e96c 100644 (file)
@@ -632,7 +632,7 @@ typedef char _Bool;
        CONVERT_HARD_REGISTER_TO_SSA_P ASM_OUTPUT_MAIN_SOURCE_FILENAME     \
        FIRST_INSN_ADDRESS TEXT_SECTION SHARED_BSS_SECTION_ASM_OP          \
        PROMOTED_MODE EXPAND_BUILTIN_VA_END                                \
-       LINKER_DOES_NOT_WORK_WITH_DWARF2
+       LINKER_DOES_NOT_WORK_WITH_DWARF2 FUNCTION_ARG_KEEP_AS_REFERENCE
 
 /* Hooks that are no longer used.  */
  #pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE  \