aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r--gcc/builtins.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c
index fa17afd..a1dc83c 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -3587,7 +3587,7 @@ compute_objsize (tree dest, int ostype, tree *pdecl /* = NULL */)
/* Only the two least significant bits are meaningful. */
ostype &= 3;
- if (compute_builtin_object_size (dest, ostype, &size))
+ if (compute_builtin_object_size (dest, ostype, &size, pdecl))
return build_int_cst (sizetype, size);
if (TREE_CODE (dest) == SSA_NAME)