aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Sebor <msebor@redhat.com>2017-05-08 20:50:24 +0000
committerMartin Sebor <msebor@gcc.gnu.org>2017-05-08 14:50:24 -0600
commitea494cd74f6822864a46d723db7cb8775d1a36b4 (patch)
tree29ee644b0d4899ab603daf4d91114e37f44c1b8d
parentf3ec182d6ca9829004b3b78fca373b8659bf7c01 (diff)
downloadgcc-ea494cd74f6822864a46d723db7cb8775d1a36b4.zip
gcc-ea494cd74f6822864a46d723db7cb8775d1a36b4.tar.gz
gcc-ea494cd74f6822864a46d723db7cb8775d1a36b4.tar.bz2
re PR translation/80280 (Missing closing quote (%>) c/semantics.c and c/c-typeck.c)
gcc/ChangeLog: PR translation/80280 * config/sol2-c.c (solaris_pragma_align): Correct quoting. From-SVN: r247758
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/sol2-c.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index dc2d9df..859104f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2017-05-08 Martin Sebor <msebor@redhat.com>
+
+ PR translation/80280
+ * config/sol2-c.c (solaris_pragma_align): Correct quoting.
+
2017-05-08 Bernd Edlinger <bernd.edlinger@hotmail.de>
* target.def (compute_frame_layout): New optional target hook.
diff --git a/gcc/config/sol2-c.c b/gcc/config/sol2-c.c
index 5a44a88..7c404b0 100644
--- a/gcc/config/sol2-c.c
+++ b/gcc/config/sol2-c.c
@@ -113,7 +113,7 @@ solaris_pragma_align (cpp_reader *pfile ATTRIBUTE_UNUSED)
tree decl = identifier_global_value (t);
if (decl && DECL_P (decl))
warning (0, "%<#pragma align%> must appear before the declaration of "
- "%D, ignoring", decl);
+ "%qD, ignoring", decl);
else
solaris_pending_aligns = tree_cons (t, build_tree_list (NULL, x),
solaris_pending_aligns);