summaryrefslogtreecommitdiff
path: root/gcc/cp/tree.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2021-12-15 12:09:28 +0100
committerMartin Liska <mliska@suse.cz>2021-12-15 13:10:02 +0100
commit7527ddecef4721b3f4b00e8ad22d390b457c310b (patch)
treef92abb77cceebe846cadcf6b857d9a7cbe50e702 /gcc/cp/tree.c
parentd5c965374cd688b0a8ad0334c85c971c1e9c3f44 (diff)
downloadgcc-7527ddecef4721b3f4b00e8ad22d390b457c310b.tar.gz
c++: Fix warning word splitting [PR103713]
PR c++/103713 gcc/cp/ChangeLog: * tree.c (maybe_warn_parm_abi): Fix warning word splitting.
Diffstat (limited to 'gcc/cp/tree.c')
-rw-r--r--gcc/cp/tree.c5
1 files 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;