From: Richard Kenner Date: Fri, 27 May 1994 21:44:59 +0000 (-0400) Subject: (PCC_STATIC_STRUCT_RETURN): No longer defined. X-Git-Tag: misc/cutover-egcs-0~6569 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4326de0b2550fd4e7e7399bf6f3ed6ef1598667e;p=thirdparty%2Fgcc.git (PCC_STATIC_STRUCT_RETURN): No longer defined. From-SVN: r7374 --- diff --git a/gcc/config/clipper/clipper.h b/gcc/config/clipper/clipper.h index 1e3adb69607e..c0294b38dd9d 100644 --- a/gcc/config/clipper/clipper.h +++ b/gcc/config/clipper/clipper.h @@ -413,9 +413,11 @@ enum reg_class { NO_REGS, GENERAL_REGS, FLOAT_REGS, ALL_REGS, LIM_REG_CLASSES}; ((N) == 0 || (N) == 1 || (N) == 16 || (N) == 17) /* Define this if PCC uses the nonreentrant convention for returning - structure and union values. */ + structure and union values. Old Green Hills C-Clipper returns static + structs but the newer Apogee compiler passes structs as hidden arg 0. + Structs etc are always passed in memory */ -#define PCC_STATIC_STRUCT_RETURN +/* #define PCC_STATIC_STRUCT_RETURN */ /* Define a data type for recording info about an argument list