[gcc(refs/users/marxin/heads/PR103713-fix-splitting)] c++: Fix warning word splitting [PR103713]

Martin Liska marxin@gcc.gnu.org
Wed Dec 15 11:10:02 GMT 2021


https://gcc.gnu.org/g:cb5d25532fcf5fbb6eb896ce1ccfc42e76a51817

commit cb5d25532fcf5fbb6eb896ce1ccfc42e76a51817
Author: Martin Liska <mliska@suse.cz>
Date:   Wed Dec 15 12:09:28 2021 +0100

    c++: Fix warning word splitting [PR103713]
    
            PR c++/103713
    
    gcc/cp/ChangeLog:
    
            * tree.c (maybe_warn_parm_abi): Fix warning word splitting.

Diff:
---
 gcc/cp/tree.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c
index f6f7927f293..284fb5f4b2a 100644
--- a/gcc/cp/tree.c
+++ b/gcc/cp/tree.c
@@ -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;


More information about the Gcc-cvs mailing list