an expression.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217618
138bc75d-0d04-0410-961f-
82ee72b054a4
2014-11-15 Jason Merrill <jason@redhat.com>
+ * parser.c (cp_parser_omp_declare_reduction_exprs): A block is not
+ an expression.
+
* constexpr.c (cxx_eval_builtin_function_call): Use
fold_builtin_call_array.
block = finish_omp_structured_block (block);
cp_walk_tree (&block, cp_remove_omp_priv_cleanup_stmt, omp_priv, NULL);
- finish_expr_stmt (block);
+ add_stmt (block);
if (ctor)
add_decl_expr (omp_orig);