diff options
Diffstat (limited to 'gcc/cp/parser.c')
-rw-r--r-- | gcc/cp/parser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index bb97700..6da285e 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -6295,7 +6295,8 @@ cp_parser_delete_expression (cp_parser* parser) if (cp_parser_non_integral_constant_expression (parser, NIC_DEL)) return error_mark_node; - return delete_sanity (expression, NULL_TREE, array_p, global_scope_p); + return delete_sanity (expression, NULL_TREE, array_p, global_scope_p, + tf_warning_or_error); } /* Returns true if TOKEN may start a cast-expression and false |