diff options
author | schwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-18 14:21:13 +0000 |
---|---|---|
committer | schwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-18 14:21:13 +0000 |
commit | 211ade987a81ef48013a0a4a90da378faf41fd08 (patch) | |
tree | 28e604cb0fb614144fd93041934afc0d34cb8e1a /gcc/config/ia64 | |
parent | 70f5822c90cfd0e77f57d4f13a233aa5f214c022 (diff) | |
download | gcc-211ade987a81ef48013a0a4a90da378faf41fd08.tar.gz |
PR c++/11326
* config/ia64/ia64.c (ia64_struct_value_rtx): Cope with NULL
fntype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78028 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/ia64')
-rw-r--r-- | gcc/config/ia64/ia64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index ffbb349ae71..5e39e6e805b 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -8978,7 +8978,7 @@ static rtx ia64_struct_value_rtx (tree fntype, int incoming ATTRIBUTE_UNUSED) { - if (ia64_struct_retval_addr_is_first_parm_p (fntype)) + if (fntype && ia64_struct_retval_addr_is_first_parm_p (fntype)) return NULL_RTX; return gen_rtx_REG (Pmode, GR_REG (8)); } |