From: Nathan Sidwell Date: Thu, 12 Nov 2015 13:52:30 +0000 (+0000) Subject: missed error format change in previous commit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7c6027796eb8a5b8e172125ed71ee22bcac5280f;p=gcc.git missed error format change in previous commit From-SVN: r230257 --- diff --git a/gcc/gimplify.c b/gcc/gimplify.c index 74d8765950f..f5bd637e775 100644 --- a/gcc/gimplify.c +++ b/gcc/gimplify.c @@ -5944,9 +5944,9 @@ oacc_default_clause (struct gimplify_omp_ctx *ctx, tree decl, unsigned flags) about them. */ else if (ctx->default_kind == OMP_CLAUSE_DEFAULT_NONE) { - error ("%qE not specified in enclosing OpenACC %s construct", + error ("%qE not specified in enclosing OpenACC %qs construct", DECL_NAME (lang_hooks.decls.omp_report_decl (decl)), rkind); - error_at (ctx->location, "enclosing OpenACC %s construct", rkind); + error_at (ctx->location, "enclosing OpenACC %qs construct", rkind); } else gcc_checking_assert (ctx->default_kind == OMP_CLAUSE_DEFAULT_SHARED);