Commit 7e7a6ed7 by Martin Liska Committed by Martin Liska

Add quotes for -fconstexpr-depth= in an error message.

From-SVN: r264233
parent 6cd4c66e
2018-08-28 Martin Liska <mliska@suse.cz>
* constexpr.c (cxx_eval_call_expression): Add quotes
to -fconstexpr-depth=.
2018-09-10 Marek Polacek <polacek@redhat.com> 2018-09-10 Marek Polacek <polacek@redhat.com>
* class.c (build_vtbl_ref): Remove. * class.c (build_vtbl_ref): Remove.
......
...@@ -1669,7 +1669,7 @@ cxx_eval_call_expression (const constexpr_ctx *ctx, tree t, ...@@ -1669,7 +1669,7 @@ cxx_eval_call_expression (const constexpr_ctx *ctx, tree t,
{ {
if (!ctx->quiet) if (!ctx->quiet)
error ("%<constexpr%> evaluation depth exceeds maximum of %d (use " error ("%<constexpr%> evaluation depth exceeds maximum of %d (use "
"-fconstexpr-depth= to increase the maximum)", "%<-fconstexpr-depth=%> to increase the maximum)",
max_constexpr_depth); max_constexpr_depth);
*non_constant_p = true; *non_constant_p = true;
result = error_mark_node; result = error_mark_node;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment