OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(RETURN_POPS_ARGS): Make sure FUDECL is non-nil before we try to use it.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
config
/
ns32k
/
ns32k.h
diff --git
a/gcc/config/ns32k/ns32k.h
b/gcc/config/ns32k/ns32k.h
index
854c794
..
70cd9f2
100644
(file)
--- 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.
/* 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.
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) \
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))) \
&& (TYPE_ARG_TYPES (FUNTYPE) == 0 \
|| (TREE_VALUE (tree_last (TYPE_ARG_TYPES (FUNTYPE))) \
== void_type_node))) \