diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-03-30 22:31:40 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-03-30 22:31:40 +0200 |
commit | 724d25f35387d4de3711bf51bd17671208ff3dbb (patch) | |
tree | 405f7337d96ffe161fdcd7322d0bea9ae7f949ce /gcc/gimplify.c | |
parent | e02d868ada5f0bf72ce09680aa51a806d24f7591 (diff) | |
download | gcc-724d25f35387d4de3711bf51bd17671208ff3dbb.zip gcc-724d25f35387d4de3711bf51bd17671208ff3dbb.tar.gz gcc-724d25f35387d4de3711bf51bd17671208ff3dbb.tar.bz2 |
re PR translation/80189 (gimplify.c: check whether parallel/task/teams should be translated)
PR translation/80189
* gimplify.c (omp_default_clause): Use %qs instead of %s in
diagnostic messages.
testsuite/
* g++.dg/gomp/predetermined-1.C: Adjust expected diagnostics.
* g++.dg/gomp/sharing-1.C: Likewise.
* gfortran.dg/gomp/pr44536.f90: Likewise.
* gfortran.dg/gomp/pr44036-1.f90: Likewise.
* gfortran.dg/gomp/sharing-3.f90: Likewise.
* gfortran.dg/gomp/crayptr3.f90: Likewise.
* gfortran.dg/gomp/pr33439.f90: Likewise.
* gfortran.dg/gomp/appendix-a/a.24.1.f90: Likewise.
* gfortran.dg/gomp/sharing-1.f90: Likewise.
* gfortran.dg/gomp/sharing-2.f90: Likewise.
* gcc.dg/gomp/appendix-a/a.24.1.c: Likewise.
* gcc.dg/gomp/sharing-1.c: Likewise.
From-SVN: r246599
Diffstat (limited to 'gcc/gimplify.c')
-rw-r--r-- | gcc/gimplify.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gimplify.c b/gcc/gimplify.c index 6deac4a..ff8d56b 100644 --- a/gcc/gimplify.c +++ b/gcc/gimplify.c @@ -6847,9 +6847,9 @@ omp_default_clause (struct gimplify_omp_ctx *ctx, tree decl, else gcc_unreachable (); - error ("%qE not specified in enclosing %s", + error ("%qE not specified in enclosing %qs", DECL_NAME (lang_hooks.decls.omp_report_decl (decl)), rtype); - error_at (ctx->location, "enclosing %s", rtype); + error_at (ctx->location, "enclosing %qs", rtype); } /* FALLTHRU */ case OMP_CLAUSE_DEFAULT_SHARED: |