diff options
author | Jakub Jelinek <jakub@redhat.com> | 2010-05-12 14:11:00 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2010-05-12 14:11:00 +0200 |
commit | f22f434020d20d8d12bf5171cbb7ba720808ac15 (patch) | |
tree | 7303bd5cc39e81125c26e6d6f98ccc7eb2175c34 /gcc/tree-inline.c | |
parent | 7c2db0d3628062fc4fc9227c2e3ac4922b10f059 (diff) | |
download | gcc-f22f434020d20d8d12bf5171cbb7ba720808ac15.zip gcc-f22f434020d20d8d12bf5171cbb7ba720808ac15.tar.gz gcc-f22f434020d20d8d12bf5171cbb7ba720808ac15.tar.bz2 |
re PR middle-end/44085 (OpenMP - untied task accesses threadprivate - non-conforming but no msg)
PR middle-end/44085
* gimplify.c (enum omp_region_type): Add ORT_UNTIED_TASK,
change value of ORT_TASK.
(new_omp_context): Handle ORT_UNTIED_TASK like ORT_TASK.
(omp_notice_threadprivate_variable): New function.
(omp_notice_variable): Call it for threadprivate variables.
If enclosing ctx is a task, print enclosing task rather than
enclosing parallel. Handle ORT_UNTIED_TASK like ORT_TASK.
(gimplify_omp_task): Pass ORT_UNTIED_TASK instead of ORT_TASK
if task has untied clause.
* gcc.dg/gomp/pr44085.c: New test.
* gfortran.dg/gomp/pr44085.f90: New test.
From-SVN: r159316
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions