aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-family/c-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-family/c-common.c')
-rw-r--r--gcc/c-family/c-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-family/c-common.c b/gcc/c-family/c-common.c
index 75de6dc6147..d2e3c1e4168 100644
--- a/gcc/c-family/c-common.c
+++ b/gcc/c-family/c-common.c
@@ -10533,7 +10533,7 @@ sync_resolve_size (tree function, vec<tree, va_gc> *params)
tree type;
int size;
- if (!params)
+ if (vec_safe_is_empty (params))
{
error ("too few arguments to function %qE", function);
return 0;