aboutsummaryrefslogtreecommitdiff
path: root/gcc/ChangeLog
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2010-05-12 14:11:00 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2010-05-12 14:11:00 +0200
commitf22f434020d20d8d12bf5171cbb7ba720808ac15 (patch)
tree7303bd5cc39e81125c26e6d6f98ccc7eb2175c34 /gcc/ChangeLog
parent7c2db0d3628062fc4fc9227c2e3ac4922b10f059 (diff)
downloadgcc-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/ChangeLog')
-rw-r--r--gcc/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fb4d616..52f8319 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,16 @@
2010-05-12 Jakub Jelinek <jakub@redhat.com>
+ 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.
+
PR debug/42278
* dwarf2out.c (base_type_die): Don't add name attribute here.
(modified_type_die): Instead of sizetype use