This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc ChangeLog.gomp Makefile.in builtins.c ...
- From: dnovillo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 26 Sep 2005 15:26:05 -0000
- Subject: gcc/gcc ChangeLog.gomp Makefile.in builtins.c ...
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gomp-20050608-branch
Changes by: dnovillo@gcc.gnu.org 2005-09-26 15:26:05
Modified files:
gcc : ChangeLog.gomp Makefile.in builtins.c
c-parser.c gimple-low.c tree-gimple.h
tree-nested.c tree.h
Added files:
gcc/testsuite/gcc.dg/gomp: shared-1.c shared-2.c
Log message:
* Makefile.in (gimple-low.o): Depend on vec.h
* builtins.c (build_string_literal): Make extern.
(expand_builtin_copysign):
* c-parser.c (c_parser_pragma_omp_threadprivate): Mark
threadprivate variables with decl_default_tls_model.
* gimple-low.c: Include vec.h.
(struct remap_info_d): Remove fields data_arg_dest, private,
firstprivate, lastprivate, copyin and copyprivate.
Rename field data_arg_orig to omp_data.
Add fields tsi, ptr_to_omp_data and syms_with_value_expr.
Update all users.
(add_decls_to_set): Remove.
(get_omp_private_ref): Remove.
(get_omp_shared_ref): Remove.
(create_tmp_var_in): New.
(add_omp_data_field): New.
(get_omp_data_field_for): New.
(emit_firstprivate_sending_code): New.
(emit_firstprivate_receiving_code): New.
(get_omp_private_repl): New.
(get_omp_firstprivate_repl): New.
(get_omp_shared_repl): New.
(emit_lastprivate_receiving_code): New.
(emit_lastprivate_sending_code): New.
(get_omp_lastprivate_repl): New.
(get_omp_copyin_repl): New.
(get_omp_sharing_replacements): New.
(process_omp_clauses): Call it.
(remap_locals_in_child_r): Only replace private locals and call
process_omp_clauses for every worksharing construct found.
(remap_locals_in_child): Use walk_stmts to call
remap_locals_in_child_r.
(convert_to_gimple_val): New.
(remap_locals_in_parent_r): New.
(emit_num_threads_setup_code): Remove argument TSI.
(lower_omp_parallel): After remapping locals in child
function, clear out DECL_VALUE_EXPR from every processed
symbol.
Call walk_stmts with remap_locals_in_parent_r.
* tree-gimple.h (insert_field_into_struct): Declare.
(struct walk_stmt_info): Move from tree-nested.c
(walk_stmts): Declare.
* tree-nested.c (insert_field_into_struct): Make extern.
(struct walk_stmt_info): Move to tree-gimple.h.
(walk_stmts): Make extern.
* tree.h (build_string_literal): Declare.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.gomp.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.6.38&r2=1.1.6.39
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/Makefile.in.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1501.4.11&r2=1.1501.4.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/builtins.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.462.4.4&r2=1.462.4.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-parser.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=2.17.4.21&r2=2.17.4.22
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gimple-low.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=2.24.4.14&r2=2.24.4.15
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-gimple.h.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=2.22.8.1&r2=2.22.8.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-nested.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=2.27.4.4&r2=2.27.4.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.h.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.735.4.14&r2=1.735.4.15
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/gomp/shared-1.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/gomp/shared-2.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=NONE&r2=1.1.2.1