This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgomp/32468] number of threads in a parallel region depends on number of SECTIONs and MAX_THREADS



------- Comment #7 from jakub at gcc dot gnu dot org  2007-07-02 19:27 -------
Subject: Bug 32468

Author: jakub
Date: Mon Jul  2 19:27:28 2007
New Revision: 126228

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126228
Log:
        PR libgomp/32468
        * omp-low.c (check_combined_parallel): New function.
        (lower_omp_parallel): Call it via walk_stmts, set
        OMP_PARALLEL_COMBINED if appropriate.
        (determine_parallel_type): If OMP_FOR resp. OMP_SECTIONS
        isn't the only statement in WS_ENTRY_BB or OMP_RETURN
        the only one in PAR_EXIT_BB and not OMP_PARALLEL_COMBINED,
        don't consider it as combined parallel.

        * gcc.dg/gomp/pr32468-1.c: New test.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/gomp/pr32468-1.c
Modified:
    branches/gcc-4_2-branch/gcc/ChangeLog
    branches/gcc-4_2-branch/gcc/omp-low.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32468


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]