diff options
author | Jakub Jelinek <jakub@redhat.com> | 2020-10-30 09:16:45 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2020-10-30 09:16:45 +0100 |
commit | 5a6b1d8ef4218a1a2ed6d43c6ee058db9c417bc8 (patch) | |
tree | cb6feb912772a61d80a954d525c48a08da8aa7c4 /gcc/builtins.c | |
parent | 973574465ca250ed9af5c229a8a3a6b05fde9ca0 (diff) | |
download | gcc-5a6b1d8ef4218a1a2ed6d43c6ee058db9c417bc8.zip gcc-5a6b1d8ef4218a1a2ed6d43c6ee058db9c417bc8.tar.gz gcc-5a6b1d8ef4218a1a2ed6d43c6ee058db9c417bc8.tar.bz2 |
openmp: Handle non-static data members in allocate clause and other C++ allocate fixes
This allows specification of non-static data members in allocate clause like it
can be specified in other privatization clauses and adds a new testcase that covers
also handling of that clause in templates.
2020-10-30 Jakub Jelinek <jakub@redhat.com>
* semantics.c (finish_omp_clauses) <case OMP_CLAUSE_ALLOCATE>: Handle
non-static members in methods.
* pt.c (tsubst_omp_clauses): Handle OMP_CLAUSE_ALLOCATE.
* c-c++-common/gomp/allocate-1.c (qux): Add another test.
* g++.dg/gomp/allocate-1.C: New test.
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions