From ea494cd74f6822864a46d723db7cb8775d1a36b4 Mon Sep 17 00:00:00 2001 From: Martin Sebor Date: Mon, 8 May 2017 20:50:24 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/sol2-c.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dc2d9df83db..859104ff89a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-05-08 Martin Sebor + + PR translation/80280 + * config/sol2-c.c (solaris_pragma_align): Correct quoting. + 2017-05-08 Bernd Edlinger * target.def (compute_frame_layout): New optional target hook. diff --git a/gcc/config/sol2-c.c b/gcc/config/sol2-c.c index 5a44a88d1ac..7c404b06b70 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); -- 2.30.2