aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2017-03-04 11:04:50 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2017-03-04 11:04:50 +0000
commit1ff4bae6b55130e47855af1baf9a022b6e65e8e2 (patch)
tree05d13f09cc174e092749aa76222883049ba202f4 /gcc/c
parent4cdeb2343a2203ee64c7d13ff5b36187f727b0b4 (diff)
downloadgcc-1ff4bae6b55130e47855af1baf9a022b6e65e8e2.zip
gcc-1ff4bae6b55130e47855af1baf9a022b6e65e8e2.tar.gz
gcc-1ff4bae6b55130e47855af1baf9a022b6e65e8e2.tar.bz2
re PR c/79847 (diagnostics: missing space in "implicit declaration of function")
PR c/79847 * c-decl.c (implicit_decl_warning): Add missing space. From-SVN: r245893
Diffstat (limited to 'gcc/c')
-rw-r--r--gcc/c/ChangeLog5
-rw-r--r--gcc/c/c-decl.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index 8ff0ccc..e639e6b 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,8 @@
+2017-03-04 Marek Polacek <polacek@redhat.com>
+
+ PR c/79847
+ * c-decl.c (implicit_decl_warning): Add missing space.
+
2017-03-03 Marek Polacek <polacek@redhat.com>
PR c/79758
diff --git a/gcc/c/c-decl.c b/gcc/c/c-decl.c
index f46ca11..645304a 100644
--- a/gcc/c/c-decl.c
+++ b/gcc/c/c-decl.c
@@ -3147,7 +3147,7 @@ implicit_decl_warning (location_t loc, tree id, tree olddecl)
richloc.add_fixit_replace (hint);
warned = warning_at_rich_loc
(&richloc, OPT_Wimplicit_function_declaration,
- G_("implicit declaration of function %qE;did you mean %qs?"),
+ G_("implicit declaration of function %qE; did you mean %qs?"),
id, hint);
}
else