mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-10 10:54:50 +08:00
missed error format change in previous commit
From-SVN: r230257
This commit is contained in:
parent
fffeedeb5a
commit
7c6027796e
@ -5944,9 +5944,9 @@ oacc_default_clause (struct gimplify_omp_ctx *ctx, tree decl, unsigned flags)
|
|||||||
about them. */
|
about them. */
|
||||||
else if (ctx->default_kind == OMP_CLAUSE_DEFAULT_NONE)
|
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);
|
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
|
else
|
||||||
gcc_checking_assert (ctx->default_kind == OMP_CLAUSE_DEFAULT_SHARED);
|
gcc_checking_assert (ctx->default_kind == OMP_CLAUSE_DEFAULT_SHARED);
|
||||||
|
Loading…
Reference in New Issue
Block a user