diff options
author | Martin Liska <mliska@suse.cz> | 2021-12-15 12:09:28 +0100 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2021-12-15 13:10:02 +0100 |
commit | 7527ddecef4721b3f4b00e8ad22d390b457c310b (patch) | |
tree | f92abb77cceebe846cadcf6b857d9a7cbe50e702 /gcc | |
parent | d5c965374cd688b0a8ad0334c85c971c1e9c3f44 (diff) | |
download | gcc-7527ddecef4721b3f4b00e8ad22d390b457c310b.zip gcc-7527ddecef4721b3f4b00e8ad22d390b457c310b.tar.gz gcc-7527ddecef4721b3f4b00e8ad22d390b457c310b.tar.bz2 |
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')
-rw-r--r-- | gcc/cp/tree.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index f6f7927f..284fb5f 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; |