diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2015-11-13 13:47:50 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2015-11-13 13:47:50 +0000 |
commit | 20e8b68f101fe3439f5af27a0ac9a7abb805f5c4 (patch) | |
tree | 71d2f4bb3863a08b8f97390f124ec914a5257d26 /gcc/gimplify.c | |
parent | 77f9c814ec10a88fe694c37fbfa168f28bf2f57a (diff) | |
download | gcc-20e8b68f101fe3439f5af27a0ac9a7abb805f5c4.zip gcc-20e8b68f101fe3439f5af27a0ac9a7abb805f5c4.tar.gz gcc-20e8b68f101fe3439f5af27a0ac9a7abb805f5c4.tar.bz2 |
gimplify.c (oacc_default_clause): Use inform for enclosing scope.
gcc/
* gimplify.c (oacc_default_clause): Use inform for enclosing scope.
gcc/testsuite/
* c-c++-common/goacc/data-default-1.c: Correct expected
From-SVN: r230321
Diffstat (limited to 'gcc/gimplify.c')
-rw-r--r-- | gcc/gimplify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gimplify.c b/gcc/gimplify.c index 3c8f8a2..a3ed378 100644 --- a/gcc/gimplify.c +++ b/gcc/gimplify.c @@ -6007,7 +6007,7 @@ oacc_default_clause (struct gimplify_omp_ctx *ctx, tree decl, unsigned flags) { 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 %qs construct", rkind); + inform (ctx->location, "enclosing OpenACC %qs construct", rkind); } else gcc_checking_assert (ctx->default_kind == OMP_CLAUSE_DEFAULT_SHARED); |