aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/pyr/pyr.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/pyr/pyr.h')
-rw-r--r--gcc/config/pyr/pyr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/pyr/pyr.h b/gcc/config/pyr/pyr.h
index 407a39e..ea88ee4 100644
--- a/gcc/config/pyr/pyr.h
+++ b/gcc/config/pyr/pyr.h
@@ -1,6 +1,6 @@
/* Definitions of target machine parameters for GNU compiler,
for Pyramid 90x, 9000, and MIServer Series.
- Copyright (C) 1989, 1995, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1989, 1995, 1996, 1997 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -495,7 +495,7 @@ enum reg_class { NO_REGS, ALL_REGS, LIM_REG_CLASSES };
We may nevertheless provide this as an option. */
#define RETURN_POPS_ARGS(FUNDECL,FUNTYPE,SIZE) \
- ((TARGET_RETD && TREE_CODE (FUNDECL) != IDENTIFIER_NODE \
+ ((TARGET_RETD && (!(FUNDECL) || TREE_CODE (FUNDECL) != IDENTIFIER_NODE) \
&& (TYPE_ARG_TYPES (FUNTYPE) == 0 \
|| (TREE_VALUE (tree_last (TYPE_ARG_TYPES (FUNTYPE))) \
== void_type_node))) \