This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r106295 - in /branches/gomp-20050608-branch/gcc...
- From: rth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 31 Oct 2005 22:32:25 -0000
- Subject: r106295 - in /branches/gomp-20050608-branch/gcc...
Author: rth
Date: Mon Oct 31 22:32:24 2005
New Revision: 106295
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106295
Log:
* omp-low.c (build_receiver_ref): Lookup receiver field again.
(build_outer_var_ref): Don't remap types here.
(install_var_field): Assert no duplicate fields.
(install_var_local): Rename from install_var_new; do
omp_copy_decl_1 here.
(install_var_private, install_var_shared): Remove.
(fixup_remapped_decl): Rename from fixup_variable_sized. Remap
types of all decls seen.
(is_private_var): Remove.
(fixup_child_record_type): New.
(scan_sharing_clauses): Always run second pass for
fixup_remapped_decl; use install_var_local.
(create_omp_child_function): Make the passed-as argument type
be void*.
(scan_omp_parallel): Call fixup_child_record_type.
(scan_omp_for): Don't privatize iterator variable here.
(expand_rec_input_clauses): Handle variable sized reference vars.
Set DECL_VALUE_EXPR for shared variables.
(expand_omp_parallel): Expand body after expand_rec_input_clauses.
(expand_omp_single): Likewise.
* tree-nested.c (struct nesting_info): Add field_map,
suppress_expansion, debug_var_chain.
(create_nesting_tree): Initialize them.
(lookup_field_for_decl): Use field_map.
(get_nonlocal_debug_decl, get_local_debug_decl): New.
(convert_nonlocal_reference, convert_local_reference): Use them.
Honor suppress_expansion; set it for OMP statements.
(convert_nonlocal_omp_clauses): Fill in suppress_expansion.
(convert_local_omp_clauses): Similarly.
(finalize_nesting_tree_1): Add debug_var_chain to toplevel block.
Modified:
branches/gomp-20050608-branch/gcc/ChangeLog.gomp
branches/gomp-20050608-branch/gcc/omp-low.c
branches/gomp-20050608-branch/gcc/tree-nested.c