c++: Fix warning word splitting [PR103713]

PR c++/103713

gcc/cp/ChangeLog:

	* tree.c (maybe_warn_parm_abi): Fix warning word splitting.
This commit is contained in:
Martin Liska 2021-12-15 12:09:28 +01:00
parent d5c965374c
commit 7527ddecef

View file

@ -4371,8 +4371,9 @@ maybe_warn_parm_abi (tree t, location_t loc)
"the calling convention for %qT, which was "
"accidentally changed in 8.1", t);
else
w = warning_at (loc, OPT_Wabi, "%<-fabi-version=12%> (GCC 8.1) accident"
"ally changes the calling convention for %qT", t);
w = warning_at (loc, OPT_Wabi, "%<-fabi-version=12%> (GCC 8.1) "
"accidentally changes the calling convention for %qT",
t);
if (w)
inform (location_of (t), " declared here");
return;