summaryrefslogtreecommitdiff
path: root/gcc/cp/cp-objcp-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/cp-objcp-common.c')
-rw-r--r--gcc/cp/cp-objcp-common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cp/cp-objcp-common.c b/gcc/cp/cp-objcp-common.c
index 32e5530f243..da6f8291ba4 100644
--- a/gcc/cp/cp-objcp-common.c
+++ b/gcc/cp/cp-objcp-common.c
@@ -138,6 +138,8 @@ cp_tree_size (enum tree_code code)
case TRAIT_EXPR:
return sizeof (struct tree_trait_expr);
+ case LAMBDA_EXPR: return sizeof (struct tree_lambda_expr);
+
default:
gcc_unreachable ();
}