This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/24703] [GOMP] Unable to compile OpenMP program with omp parallel for schedule(dynamic) directive
- From: "dnovillo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Nov 2005 01:25:00 -0000
- Subject: [Bug middle-end/24703] [GOMP] Unable to compile OpenMP program with omp parallel for schedule(dynamic) directive
- References: <bug-24703-11658@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from dnovillo at gcc dot gnu dot org 2005-11-14 01:25 -------
Subject: Bug 24703
Author: dnovillo
Date: Mon Nov 14 01:24:54 2005
New Revision: 106878
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106878
Log:
PR 24703
* omp-low.c (determine_parallel_type): Make extern.
Do not return IS_PARALLEL if OMP_FOR_PRE_BODY is set.
(enum omp_parallel_type): Move ...
* tree-gimple.h (enum omp_parallel): ... here.
(determine_parallel_type): Declare.
* gimplify.c (struct gimplify_ctx): Add fields combined_pre_p
and combined_ctxp.
(gimplify_expr_in_ctx): New.
(gimplify_omp_for): Call it if gimplify_ctxp->combined_pre_p
is set.
(gimplify_omp_parallel): Set gimplify_ctxp->combined_pre_p
and gimplify_ctxp->combined_ctxp if this is a combined
parallel+workshare directive.
Modified:
branches/gomp-20050608-branch/gcc/ChangeLog.gomp
branches/gomp-20050608-branch/gcc/gimplify.c
branches/gomp-20050608-branch/gcc/omp-low.c
branches/gomp-20050608-branch/gcc/tree-gimple.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24703