This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/32502] Rejects valid OpenMP code due to orphaned construct with reduction clause
- From: "dfranke at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jun 2007 21:30:57 -0000
- Subject: [Bug fortran/32502] Rejects valid OpenMP code due to orphaned construct with reduction clause
- References: <bug-32502-12305@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from dfranke at gcc dot gnu dot org 2007-06-25 21:30 -------
OpenMP v2.5, section 2.5.1, "Loop contruct":
Summary
The loop construct specifies that the iterations of the associated loop will be
executed in parallel. The iterations of the loop are distributed across threads
that already exist in the team executing the parallel region to which the loop
region binds.
Binding
The binding thread set for a loop region is the current team. A loop region
binds to the innermost enclosing parallel region. Only the threads of the team
executing the binding parallel region participate in the execution of the loop
iterations and (optional) implicit barrier of the loop region.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32502