]> gcc.gnu.org Git - gcc.git/commit
openmp: Add testcase for threadprivate random access class iterators
authorTobias Burnus <tobias@codesourcery.com>
Tue, 2 Nov 2021 14:51:22 +0000 (15:51 +0100)
committerTobias Burnus <tobias@codesourcery.com>
Tue, 2 Nov 2021 14:51:22 +0000 (15:51 +0100)
commit798ebb8cd58f643baa0579a631f19269a64843dd
tree46386ef489ef21bb5695f9d74ddcfef9b7bdc5ca
parent2b4bd2bdc049835ce6cb53a932239530e32f5708
openmp: Add testcase for threadprivate random access class iterators

This adds a testcase for random access class iterators.  The diagnostics
can be different between templates and non-templates, as for some
threadprivate vars finish_id_expression replaces them with call to their
corresponding wrapper, but I think it is not that big deal, we reject
it in either case.

2021-11-02  Jakub Jelinek  <jakub@redhat.com>

* g++.dg/gomp/loop-8.C: New test.

(cherry picked from commit fb7fee84813b23487baf0c1094860251229ab5dd)
gcc/testsuite/ChangeLog.omp
gcc/testsuite/g++.dg/gomp/loop-8.C [new file with mode: 0644]
This page took 0.057102 seconds and 6 git commands to generate.