This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r159318 - in /branches/gcc-4_4-branch/gcc: Chan...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 12 May 2010 12:30:22 -0000
- Subject: r159318 - in /branches/gcc-4_4-branch/gcc: Chan...
Author: jakub
Date: Wed May 12 12:30:21 2010
New Revision: 159318
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159318
Log:
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.
Added:
branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/gomp/pr44085.c
branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/gomp/pr44085.f90
Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/gimplify.c
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog