diff options
author | Richard Henderson <rth@gcc.gnu.org> | 2002-04-18 20:59:51 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-04-18 20:59:51 -0700 |
commit | 2840e66a788bf5d64db91f2817ea7e5336904cfb (patch) | |
tree | 230474cf8b12dffbff72b8decc7db4702851e40e /gcc | |
parent | 5cf63e3f08ac803856af88e53bae042109e13c5c (diff) | |
download | gcc-2840e66a788bf5d64db91f2817ea7e5336904cfb.zip gcc-2840e66a788bf5d64db91f2817ea7e5336904cfb.tar.gz gcc-2840e66a788bf5d64db91f2817ea7e5336904cfb.tar.bz2 |
ia64.c (ia64_function_arg_pass_by_reference): Don't crash with no type for by-mode libcalls.
* config/ia64/ia64.c (ia64_function_arg_pass_by_reference): Don't
crash with no type for by-mode libcalls.
From-SVN: r52508
Diffstat (limited to 'gcc')
-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 d628dea..4dd6229 100644 --- 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; } /* Implement va_start. */ |