fold_builtin_call_array.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217617
138bc75d-0d04-0410-961f-
82ee72b054a4
2014-11-15 Jason Merrill <jason@redhat.com>
+ * constexpr.c (cxx_eval_builtin_function_call): Use
+ fold_builtin_call_array.
+
* constexpr.c (cx_check_missing_mem_inits): Clarify error message.
2014-11-14 Paolo Carlini <paolo.carlini@oracle.com>
}
if (*non_constant_p)
return t;
- new_call = build_call_array_loc (EXPR_LOCATION (t), TREE_TYPE (t),
- CALL_EXPR_FN (t), nargs, args);
- new_call = fold (new_call);
+ new_call = fold_builtin_call_array (EXPR_LOCATION (t), TREE_TYPE (t),
+ CALL_EXPR_FN (t), nargs, args);
VERIFY_CONSTANT (new_call);
return new_call;
}