This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r106316 - in /branches/gomp-20050608-branch/gcc...
- From: dnovillo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 01 Nov 2005 05:52:37 -0000
- Subject: r106316 - in /branches/gomp-20050608-branch/gcc...
Author: dnovillo
Date: Tue Nov 1 05:52:36 2005
New Revision: 106316
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106316
Log:
* omp-low.c (enum omp_parallel_type): Declare.
(struct omp_context): Remove field 'is_parallel'.
Update users.
Add fields 'parallel_type', 'parallel_start_ix' and
'parallel_start_additional_args'.
(is_in_combined_parallel_ctx): New.
(determine_parallel_type): New.
(scan_omp_parallel): Call it.
Initialize new fields in struct omp_context.
(extract_omp_for_data): Extract from ...
(expand_omp_for_1): ... here.
Call extract_omp_for_data.
(scan_omp_for): If scanning a combined parallel loop, extract
bounds, step and chunk size.
Call extract_omp_for_data.
(scan_omp): Use ctx->parallel_start_ix to retrieve the
appropriate parallel start call.
(build_parallel_call): Document.
(expand_omp_for_generic): Re-arrange to support combined
parallel loops.
(expand_omp_sections): Likewise.
Modified:
branches/gomp-20050608-branch/gcc/ChangeLog.gomp
branches/gomp-20050608-branch/gcc/omp-low.c