]> git.ipfire.org Git - thirdparty/gcc.git/commit
openmp: Add testcase for threadprivate random access class iterators
authorJakub Jelinek <jakub@redhat.com>
Tue, 2 Nov 2021 08:13:07 +0000 (09:13 +0100)
committerJakub Jelinek <jakub@redhat.com>
Tue, 2 Nov 2021 08:13:07 +0000 (09:13 +0100)
commitfb7fee84813b23487baf0c1094860251229ab5dd
tree5aa1c85045243294b981caec0cd18f037c1ef330
parentcf82e8d964ab1551ca159be5b02e9e8f2dbc292d
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.
gcc/testsuite/g++.dg/gomp/loop-8.C [new file with mode: 0644]