------- Comment #1 from jakub at gcc dot gnu dot org  2006-05-17 08:35 -------
Subject: Bug 27415

Author: jakub
Date: Wed May 17 08:35:01 2006
New Revision: 113846

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113846
Log:
        PR middle-end/27415
        * tree.h (OMP_PARALLEL_COMBINED): Define.
        * gimplify.c (struct gimplify_omp_ctx): Add is_combined_parallel field.
        (new_omp_context): Add is_combined_parallel argument.
        (gimplify_scan_omp_clauses): Add in_combined_parallel argument, adjust
        new_omp_context caller.
        (gimplify_omp_parallel, gimplify_omp_for, gimplify_omp_workshare):
        Adjust gimplify_scan_omp_clauses callers.
        (omp_is_private): Issue errors if iteration variable is firstprivate
        or reduction in the current context.
        * c-parser.c (c_parser_omp_parallel): Set OMP_PARALLEL_COMBINED
        on combined parallel workshare constructs.
cp/
        * parser.c (cp_parser_omp_parallel): Set OMP_PARALLEL_COMBINED
        on combined parallel workshare constructs.
        * pt.c (tsubst_expr): Copy OMP_PARALLEL_COMBINED flag.
fortran/
        * trans-openmp.c (gfc_trans_omp_parallel_do,
        gfc_trans_omp_parallel_sections, gfc_trans_omp_parallel_workshare): Set
        OMP_PARALLEL_COMBINED flag.
testsuite/
        * gcc.dg/gomp/pr27415.c: New test.
        * g++.dg/gomp/pr27415.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/gomp/pr27415.C
    trunk/gcc/testsuite/gcc.dg/gomp/pr27415.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-parser.c
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/cp/pt.c
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-openmp.c
    trunk/gcc/gimplify.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree.h


-- 


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

Reply via email to