diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2020-08-25 17:46:13 +0200 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2020-08-25 17:46:41 +0200 |
commit | 3d5ed337cb354c2f85a9caf60377bad887b18d53 (patch) | |
tree | 1f1fbb20cd42c8e5c8e77d63f3116ae91a23f4cb /gcc/tree-vector-builder.c | |
parent | 24f2764521d8f27760f03f626a4f20f4c82b7c73 (diff) | |
download | gcc-3d5ed337cb354c2f85a9caf60377bad887b18d53.zip gcc-3d5ed337cb354c2f85a9caf60377bad887b18d53.tar.gz gcc-3d5ed337cb354c2f85a9caf60377bad887b18d53.tar.bz2 |
OpenMP: Improve map-clause error message for array function parameter (PR96678)
gcc/c/ChangeLog:
PR c/96678
* c-typeck.c (handle_omp_array_sections_1): Talk about
array function parameter in the error message.
gcc/cp/ChangeLog:
PR c/96678
* semantics.c (handle_omp_array_sections_1): Talk about
array function parameter in the error message.
gcc/testsuite/ChangeLog:
PR c/96678
* c-c++-common/gomp/map-4.c: New test.
* c-c++-common/gomp/depend-1.c: Update dg-error.
* c-c++-common/gomp/map-1.c: Likewise.
* c-c++-common/gomp/reduction-1.c: Likewise.
* g++.dg/gomp/depend-1.C: Likewise.
* g++.dg/gomp/depend-2.C: Likewise.
Diffstat (limited to 'gcc/tree-vector-builder.c')
0 files changed, 0 insertions, 0 deletions