From 7972af82c6594d3db7a513d65a4540bef8bc6f87 Mon Sep 17 00:00:00 2001 From: Tom Wood Date: Tue, 23 Mar 1993 12:49:33 +0000 Subject: [PATCH] (NEEDS_UNTYPED_CALL): Define. From-SVN: r3838 --- gcc/config/m68k/isi.h | 6 ++++++ gcc/config/m68k/m68k.h | 5 +++++ gcc/config/m68k/m68kv4.h | 6 ++++++ gcc/config/m68k/mot3300.h | 6 ++++++ 4 files changed, 23 insertions(+) diff --git a/gcc/config/m68k/isi.h b/gcc/config/m68k/isi.h index 7d791b9c41c..38d3755b6a1 100644 --- a/gcc/config/m68k/isi.h +++ b/gcc/config/m68k/isi.h @@ -63,6 +63,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #undef FUNCTION_VALUE #undef LIBCALL_VALUE #undef FUNCTION_VALUE_REGNO_P +#undef NEEDS_UNTYPED_CALL #undef ASM_FILE_START /* Every structure or union's size must be a multiple of 2 bytes. */ @@ -82,5 +83,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define FUNCTION_VALUE_REGNO_P(N) \ ((N) == 0 || (TARGET_68881 && (N) == 16)) +/* Define this to be true when FUNCTION_VALUE_REGNO_P is true for + more than one register. */ + +#define NEEDS_UNTYPED_CALL 1 + /* Also output something to cause the correct _doprnt to be loaded. */ #define ASM_FILE_START(FILE) fprintf (FILE, "#NO_APP\n%s\n", TARGET_68881 ? ".globl fltused" : "") diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h index 0bce1ddb719..ca9907b392c 100644 --- a/gcc/config/m68k/m68k.h +++ b/gcc/config/m68k/m68k.h @@ -774,6 +774,11 @@ extern enum reg_class regno_reg_class[]; #define FUNCTION_VALUE_REGNO_P(N) ((N) == 0) +/* Define this to be true when FUNCTION_VALUE_REGNO_P is true for + more than one register. */ + +#define NEEDS_UNTYPED_CALL 0 + /* Define this if PCC uses the nonreentrant convention for returning structure and union values. */ diff --git a/gcc/config/m68k/m68kv4.h b/gcc/config/m68k/m68kv4.h index 6f3e573df0c..f437bdeb3a8 100644 --- a/gcc/config/m68k/m68kv4.h +++ b/gcc/config/m68k/m68kv4.h @@ -123,6 +123,12 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define FUNCTION_VALUE_REGNO_P(N) \ ((N) == 0 || (N) == 8 || (TARGET_68881 && (N) == 16)) +/* Define this to be true when FUNCTION_VALUE_REGNO_P is true for + more than one register. */ + +#undef NEEDS_UNTYPED_CALL +#define NEEDS_UNTYPED_CALL 1 + /* Define how to generate (in the callee) the output value of a function and how to find (in the caller) the value returned by a function. VALTYPE is the data type of the value (as a tree). If the precise function being diff --git a/gcc/config/m68k/mot3300.h b/gcc/config/m68k/mot3300.h index 36bf6ecebdd..64245146de8 100644 --- a/gcc/config/m68k/mot3300.h +++ b/gcc/config/m68k/mot3300.h @@ -284,6 +284,12 @@ output_file_directive ((FILE), main_input_filename) #define FUNCTION_VALUE_REGNO_P(N) \ ((N) == 0 || (N) == 8 || (TARGET_68881 && (N) == 16)) #endif + +/* Define this to be true when FUNCTION_VALUE_REGNO_P is true for + more than one register. */ + +#undef NEEDS_UNTYPED_CALL +#define NEEDS_UNTYPED_CALL 1 /* This is the command to make the user-level label named NAME defined for reference from other files. */ -- 2.30.2