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]

gcc/gcc ChangeLog.gomp gimplify.c omp-low.c tr ...


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gomp-20050608-branch
Changes by:	rth@gcc.gnu.org	2005-10-15 02:18:22

Modified files:
	gcc            : ChangeLog.gomp gimplify.c omp-low.c 
	                 tree-inline.c tree-nested.c tree-pretty-print.c 
	gcc/testsuite/g++.dg/gomp: parallel-2.C 
	gcc/testsuite/gcc.dg/gomp: parallel-2.c 
Added files:
	gcc/testsuite/gcc.dg/gomp: vla-1.c vla-2.c vla-3.c vla-4.c 
	                           vla-5.c 

Log message:
	* gimplify.c (enum gimplify_omp_var_data): New.
	(struct gimplify_omp_ctx, gimplify_omp_ctxp): New.
	(splay_tree_compare_decl_uid): New.
	(new_omp_context, delete_omp_context): New.
	(gimple_add_tmp_var): Call omp_add_variable.
	(gimplify_bind_expr): Likewise.
	(omp_firstprivatize_variable, omp_firstprivatize_type_sizes): New.
	(omp_add_variable, omp_notice_variable, omp_is_private): New.
	(gimplify_deconstruct_omp_clauses): New.
	(gimplify_reconstruct_omp_clauses_1): New.
	(gimplify_reconstruct_omp_clauses): New.
	(gimplify_omp_parallel): Use them.
	(gimplify_omp_for): Likewise.
	(gimplify_omp_sections, gimplify_omp_single): New.
	(gimplify_expr): Call omp_notice_variable.
	* omp-low.c (is_variable_sized, is_reference): New.
	(omp_copy_decl_2): Don't set DECL_ABSTRACT_ORIGIN.
	(build_outer_var_ref): Handle variable sized and reference types here.
	(install_var_private): Use is_reference.
	(omp_copy_decl): Don't handle defaults.  Return error_mark_node for
	any decl not remapped.
	(scan_sharing_clauses): Handle variable sized types.
	(create_omp_child_function): Set DECL_ARTIFICIAL on the argument.
	(build_modify_expr): New.
	(expand_rec_input_clauses): Handle variable sized types.
	(expand_lastprivate_clauses): Use build_modify_expr.
	(expand_reduction_clauses): Don't explicitly handle references.
	(expand_copyprivate_clauses): Use is_reference.
	(expand_send_clauses): Handle variable sized types.
	(build_parallel_call): Use EQ_EXPR instead of invert_truthvalue.
	(expand_omp_1): Do nothing for omp forms if no context.
	* tree-inline.c (remap_decl): Early exit if copy produces a
	non-decl.
	* tree-nested.c (walk_body): Split out of walk_function.
	(convert_nonlocal_omp_clauses, convert_local_omp_clauses): New.
	(convert_nonlocal_reference): Handle omp statements.
	(convert_local_reference): Likewise.
	(unnest_nesting_tree_1): Split out of finalize_nesting_tree_1.
	(unnest_nesting_tree): New.
	(lower_nested_functions): Call it.
	* tree-pretty-print.c (dump_omp_clauses): Don't use dump_decl_name
	directly.

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.80&r2=1.1.6.81
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gimplify.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=2.135.4.29&r2=2.135.4.30
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/omp-low.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.2.20&r2=1.1.2.21
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-inline.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.192.4.10&r2=1.192.4.11
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.7&r2=2.27.4.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-pretty-print.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=2.61.4.17&r2=2.61.4.18
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/gomp/parallel-2.C.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.2.1&r2=1.1.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/gomp/vla-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/vla-2.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/vla-3.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/vla-4.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/vla-5.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/parallel-2.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.2.2&r2=1.1.2.3


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