diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-03-17 22:30:17 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-03-17 22:30:17 +0000 |
commit | 6e82208b03eb68e8b3f75a6bfc067c4e88656e00 (patch) | |
tree | 54f551ece3d178afd456684c6689da188920d3c4 /gcc/config/pyr | |
parent | a421ea47b3b7ff44e7a8584379626bff24164c95 (diff) | |
download | gcc-6e82208b03eb68e8b3f75a6bfc067c4e88656e00.tar.gz |
(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/pyr')
-rw-r--r-- | gcc/config/pyr/pyr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/pyr/pyr.h b/gcc/config/pyr/pyr.h index 407a39ed7ce..ea88ee4ba10 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))) \ |