aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/ipa-devirt.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 23cbb99..016f703 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2017-01-24 Richard Biener <rguenther@suse.de>
+
+ PR translation/79208
+ * ipa-devirt.c (odr_types_equivalent_p): Fix typo in diagnostic.
+
2017-01-24 Martin Jambor <mjambor@suse.cz>
PR bootstrap/79198
diff --git a/gcc/ipa-devirt.c b/gcc/ipa-devirt.c
index 38d5408..4428d67 100644
--- a/gcc/ipa-devirt.c
+++ b/gcc/ipa-devirt.c
@@ -1628,7 +1628,7 @@ odr_types_equivalent_p (tree t1, tree t2, bool warn, bool *warned,
if (DECL_VIRTUAL_P (f1) != DECL_VIRTUAL_P (f2))
{
warn_odr (t1, t2, f1, f2, warn, warned,
- G_("s definition that differs by virtual "
+ G_("a definition that differs by virtual "
"keyword in another translation unit"));
return false;
}