https://gcc.gnu.org/g:911ec2e09bcfadb2ff8cc2e326ef5798acc96733
commit r16-3596-g911ec2e09bcfadb2ff8cc2e326ef5798acc96733 Author: Jakub Jelinek <[email protected]> Date: Fri Sep 5 11:55:01 2025 +0200 c++: Fix cxx_eval_cxa_builtin_fn diagnostic message Marek Polacek reported to me internally that I've messed up one diagnostic message in this function, with one word before final double quote on one line and another word right after opening double quote on the next line, with no space in between. Fixed thusly. 2025-09-05 Jakub Jelinek <[email protected]> * constexpr.cc (cxx_eval_cxa_builtin_fn): Add missing word separating space into invalid_nargs diagnostics. Diff: --- gcc/cp/constexpr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/cp/constexpr.cc b/gcc/cp/constexpr.cc index c3d05248a9a7..db363dc27607 100644 --- a/gcc/cp/constexpr.cc +++ b/gcc/cp/constexpr.cc @@ -1860,7 +1860,7 @@ cxx_eval_cxa_builtin_fn (const constexpr_ctx *ctx, tree call, { invalid_nargs: if (!ctx->quiet) - error_at (loc, "call to %qD function with incorrect" + error_at (loc, "call to %qD function with incorrect " "number of arguments", fndecl); *non_constant_p = true; return call;
