This is the mail archive of the gcc-cvs@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]

r106268 - in /branches/gomp-20050608-branch/gcc...


Author: rth
Date: Mon Oct 31 08:41:15 2005
New Revision: 106268

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106268
Log:
        * langhooks.h (omp_clause_default_ctor): Add clause argument.
        (omp_clause_copy_ctor, omp_clause_assign_op): Likewise.
        (omp_clause_dtor): Likewise.
        * langhooks-def.h: Update to match.
        * langhooks.c (lhd_omp_assignment): Likewise.
        * hooks.c (hook_tree_tree_null): Remove.
        (hook_tree_tree_tree_null): New.
        * hooks.h: Update to match.
        * omp-low.c (expand_rec_input_clauses): Add new lang_hook arguments.
        (expand_lastprivate_clauses, expand_copyprivate_clauses): Likewise.
        * gimplify.c (GOVD_EXPLICIT, GOVD_DATA_SHARE_CLASS): New.
        (omp_add_variable): Gracefully handle errors.
        (omp_notice_variable): Likewise.
        (gimplify_scan_omp_clauses): Rename from
        gimplify_deconstruct_omp_clauses; don't remove nodes; use
        GOVD_EXPLICIT.
        (gimplify_adjust_omp_clauses_1): Rename from
        gimplify_reconstruct_omp_clauses_1; don't do anything for
        EXPLICIT or LOCAL variables; remove LASTPRIVATE special case.
        (gimplify_adjust_omp_clauses): Rename from
        gimplify_reconstruct_omp_clauses; prefer updates to creation.
cp/
        * cp-objcp-common.h (LANG_HOOKS_OMP_CLAUSE_DTOR):
        Use cxx_omp_clause_dtor.
        * cp-tree.h (CP_OMP_CLAUSE_INFO): New.
        (cxx_omp_clause_dtor): New.
        * cp-gimplify.c (cxx_omp_clause_apply_fn): New.
        (cxx_omp_clause_default_ctor): Use it.
        (cxx_omp_clause_copy_ctor, cxx_omp_clause_assign_op): Likewise.
        (cxx_omp_clause_dtor): New.
        * semantics.c (finish_omp_clauses): Rewrite cdtor checking to
        fill in CP_OMP_CLAUSE_INFO.  Don't specialcase LASTPRIVATE for
        removal.
        (cxx_omp_clause_default_ctor, cxx_omp_clause_copy_ctor,
        cxx_omp_clause_assign_op): Move to cp-gimplify.c.

Modified:
    branches/gomp-20050608-branch/gcc/ChangeLog.gomp
    branches/gomp-20050608-branch/gcc/cp/ChangeLog.gomp
    branches/gomp-20050608-branch/gcc/cp/cp-gimplify.c
    branches/gomp-20050608-branch/gcc/cp/cp-objcp-common.h
    branches/gomp-20050608-branch/gcc/cp/cp-tree.h
    branches/gomp-20050608-branch/gcc/cp/semantics.c
    branches/gomp-20050608-branch/gcc/gimplify.c
    branches/gomp-20050608-branch/gcc/hooks.c
    branches/gomp-20050608-branch/gcc/hooks.h
    branches/gomp-20050608-branch/gcc/langhooks-def.h
    branches/gomp-20050608-branch/gcc/langhooks.c
    branches/gomp-20050608-branch/gcc/langhooks.h
    branches/gomp-20050608-branch/gcc/omp-low.c


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