summaryrefslogtreecommitdiffstats
path: root/gcc/config/ns32k
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1997-03-17 22:30:17 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1997-03-17 22:30:17 +0000
commit6e82208b03eb68e8b3f75a6bfc067c4e88656e00 (patch)
tree54f551ece3d178afd456684c6689da188920d3c4 /gcc/config/ns32k
parenta421ea47b3b7ff44e7a8584379626bff24164c95 (diff)
downloadppe42-gcc-6e82208b03eb68e8b3f75a6bfc067c4e88656e00.tar.gz
ppe42-gcc-6e82208b03eb68e8b3f75a6bfc067c4e88656e00.zip
(RETURN_POPS_ARGS): Make sure FUDECL is non-nil before we try to use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13729 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/ns32k')
-rw-r--r--gcc/config/ns32k/ns32k.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/ns32k/ns32k.h b/gcc/config/ns32k/ns32k.h
index 854c794314f..70cd9f201ae 100644
--- a/gcc/config/ns32k/ns32k.h
+++ b/gcc/config/ns32k/ns32k.h
@@ -1,5 +1,5 @@
/* Definitions of target machine for GNU compiler. NS32000 version.
- Copyright (C) 1988, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1988, 93, 94, 95, 96, 1997 Free Software Foundation, Inc.
Contributed by Michael Tiemann (tiemann@cygnus.com)
This file is part of GNU CC.
@@ -405,7 +405,7 @@ enum reg_class { NO_REGS, GENERAL_REGS, FLOAT_REGS, GEN_AND_FP_REGS,
the caller must always pop the args. */
#define RETURN_POPS_ARGS(FUNDECL,FUNTYPE,SIZE) \
- ((TARGET_RTD && TREE_CODE (FUNDECL) != IDENTIFIER_NODE \
+ ((TARGET_RTD && (!(FUNDECL) || TREE_CODE (FUNDECL) != IDENTIFIER_NODE) \
&& (TYPE_ARG_TYPES (FUNTYPE) == 0 \
|| (TREE_VALUE (tree_last (TYPE_ARG_TYPES (FUNTYPE))) \
== void_type_node))) \
OpenPOWER on IntegriCloud