projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cf63e3
)
ia64.c (ia64_function_arg_pass_by_reference): Don't crash with no type for by-mode...
author
Richard Henderson
<rth@gcc.gnu.org>
Fri, 19 Apr 2002 03:59:51 +0000
(20:59 -0700)
committer
Richard Henderson
<rth@gcc.gnu.org>
Fri, 19 Apr 2002 03:59:51 +0000
(20:59 -0700)
* config/ia64/ia64.c (ia64_function_arg_pass_by_reference): Don't
crash with no type for by-mode libcalls.
From-SVN: r52508
gcc/config/ia64/ia64.c
patch
|
blob
|
history
diff --git
a/gcc/config/ia64/ia64.c
b/gcc/config/ia64/ia64.c
index
d628dea
..
4dd6229
100644
(file)
--- a/
gcc/config/ia64/ia64.c
+++ b/
gcc/config/ia64/ia64.c
@@
-3211,7
+3211,7
@@
ia64_function_arg_pass_by_reference (cum, mode, type, named)
tree type;
int named ATTRIBUTE_UNUSED;
{
- return TREE_CODE (TYPE_SIZE (type)) != INTEGER_CST;
+ return
type &&
TREE_CODE (TYPE_SIZE (type)) != INTEGER_CST;
}
\f
/* Implement va_start. */