summaryrefslogtreecommitdiff
path: root/gcc/config/clipper/clipper.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/clipper/clipper.h')
-rw-r--r--gcc/config/clipper/clipper.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/config/clipper/clipper.h b/gcc/config/clipper/clipper.h
index 1e3adb69607..c0294b38dd9 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