aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-devirt.c
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2018-04-17 10:28:21 +0200
committerMartin Liska <marxin@gcc.gnu.org>2018-04-17 08:28:21 +0000
commit1236cd666661babbcf37820e8e2118e39f476632 (patch)
treed957cb03bb2a5c6f87e6d6272e61c439bc335996 /gcc/ipa-devirt.c
parent7044c89cfd51f35a37e7a83f173a35d0e8b01b0f (diff)
downloadgcc-1236cd666661babbcf37820e8e2118e39f476632.zip
gcc-1236cd666661babbcf37820e8e2118e39f476632.tar.gz
gcc-1236cd666661babbcf37820e8e2118e39f476632.tar.bz2
Fix coding style and add a new test-case (PR lto/85405).
2018-04-17 Martin Liska <mliska@suse.cz> PR lto/85405 * ipa-devirt.c (odr_types_equivalent_p): Remove trailing in message, remote space in between '_G' and '('. 2018-04-17 Martin Liska <mliska@suse.cz> PR lto/85405 * g++.dg/lto/pr85405b_0.C: New test. * g++.dg/lto/pr85405b_1.C: New test. From-SVN: r259431
Diffstat (limited to 'gcc/ipa-devirt.c')
-rw-r--r--gcc/ipa-devirt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-devirt.c b/gcc/ipa-devirt.c
index 5da0f72..bdda7d6 100644
--- a/gcc/ipa-devirt.c
+++ b/gcc/ipa-devirt.c
@@ -1590,7 +1590,7 @@ odr_types_equivalent_p (tree t1, tree t2, bool warn, bool *warned,
if (DECL_BIT_FIELD (f1) != DECL_BIT_FIELD (f2))
{
warn_odr (t1, t2, f1, f2, warn, warned,
- G_ ("one field is bitfield while other is not "));
+ G_("one field is bitfield while other is not"));
return false;
}
else