summaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/expr.c')
-rw-r--r--gcc/expr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/expr.c b/gcc/expr.c
index 8245cb8ce8e..e22c1df9a2e 100644
--- a/gcc/expr.c
+++ b/gcc/expr.c
@@ -8240,6 +8240,9 @@ expand_expr (exp, target, tmode, modifier)
return const0_rtx;
}
+ case VA_ARG_EXPR:
+ return expand_builtin_va_arg (TREE_OPERAND (exp, 0), type);
+
default:
return (*lang_expand_expr) (exp, original_target, tmode, modifier);
}