diff options
Diffstat (limited to 'm68k-unknown-amigaos/recipes/patches/gcc/gcc.function.c.p')
-rw-r--r-- | m68k-unknown-amigaos/recipes/patches/gcc/gcc.function.c.p | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/m68k-unknown-amigaos/recipes/patches/gcc/gcc.function.c.p b/m68k-unknown-amigaos/recipes/patches/gcc/gcc.function.c.p deleted file mode 100644 index 299ea70..0000000 --- a/m68k-unknown-amigaos/recipes/patches/gcc/gcc.function.c.p +++ /dev/null @@ -1,31 +0,0 @@ ---- gcc-3.4.6/gcc/function.c 2013-05-19 20:08:05.000000000 +0200 -+++ gcc/function.c 2013-05-19 20:23:32.000000000 +0200 -@@ -8153,3 +8153,28 @@ - } - - #include "gt-function.h" -+ -+/* begin-GG-local: explicit register specification for parameters */ -+/* Return 1 if an argument for the current function was passed in -+ register REGNO. */ -+ -+int -+function_arg_regno_p (int regno) -+{ -+ tree parm = DECL_ARGUMENTS (current_function_decl); -+ for (; parm; parm = TREE_CHAIN (parm)) -+ { -+ rtx incoming = DECL_INCOMING_RTL (parm); -+ if (GET_CODE (incoming) == REG) -+ { -+ int incoming_reg; -+ incoming_reg = REGNO (incoming); -+ if (regno >= incoming_reg && -+ regno < incoming_reg + HARD_REGNO_NREGS (incoming_reg, -+ GET_MODE (incoming))) -+ return 1; -+ } -+ } -+ return 0; -+} -+/* end-GG-local */ |