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 Makefile.in c-common.h ...


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gomp-20050608-branch
Changes by:	rth@gcc.gnu.org	2005-10-20 09:02:12

Modified files:
	gcc            : ChangeLog.gomp Makefile.in c-common.h c-omp.c 
	                 c-parser.c gimplify.c omp-low.c tree-gimple.c 
	                 tree-gimple.h tree-nested.c tree.def tree.h 
	gcc/cp         : ChangeLog.gomp parser.c 
	gcc/fortran    : ChangeLog.gomp trans-openmp.c 
	gcc/testsuite  : ChangeLog.gomp 
	gcc/testsuite/g++.dg/gomp: critical-1.C master-3.C ordered-1.C 
	gcc/testsuite/gcc.dg/gomp: block-1.c critical-1.c master-3.c 
	                           ordered-1.c 
Added files:
	gcc/testsuite/gcc.dg/gomp: block-2.c block-3.c block-4.c 
	                           block-5.c block-6.c critical-3.c 

Log message:
	* Makefile.in (omp-low.o): Update dependencies.
	(GTFILES): Add omp-low.c.
	(s-gtype): Add gt-omp-low.h.
	* c-common.h (c_finish_omp_master, c_finish_omp_ordered): Update.
	* c-omp.c (c_finish_omp_master): Use OMP_MASTER, return the stmt.
	(c_finish_omp_ordered): Similarly with OMP_ORDERED.
	* c-parser.c (c_parser_omp_critical): Return the stmt.
	(c_parser_omp_master, c_parser_omp_ordered): Likewise.
	(c_parser_omp_construct): Set the locus on them.
	* gimplify.c (gimplify_omp_sections): Remove.
	(gimplify_omp_workshare): Rename from gimplify_omp_single;
	handle any clause+body workshare construct.
	(critical_name_mutexes, gimplify_omp_critical): Move to omp-low.c.
	(gimplify_expr): Use gimplify_omp_workshare.  Handle OMP_MASTER
	and OMP_ORDERED.
	* omp-low.c: Don't include except.h; do include ggc.h.
	(scan_omp_1): Handle OMP SECTION, MASTER, ORDERED, CRITICAL.
	(expand_omp_sections): Lookup the context for the OMP_SECTION.
	(expand_omp_master, expand_omp_ordered): New.
	(critical_name_mutexes, expand_omp_critical): Move from gimplify.c.
	(expand_omp_1): Call them.  Handle RETURN_EXPR.
	(expand_omp): Set want_return_expr.
	* tree-gimple.c (is_gimple_stmt): True for OMP_MASTER,
	OMP_ORDERED, OMP_CRITICAL.
	* tree-gimple.h (struct walk_stmt_info): Add want_return_expr.
	* tree-nested.c (walk_stmts): Honor it.
	* tree.def (OMP_MASTER, OMP_ORDERED): New.
	* tree.h (OMP_MASTER_BODY, OMP_ORDERED_BODY): New.
	cp/
	* parser.c (cp_parser_omp_master): Return the statement.
	(cp_parser_omp_ordered): Likewise.
	(cp_parser_omp_construct): Set the locus for them.
	fortran/
	* trans-openmp.c (gfc_trans_omp_master): Use OMP_MASTER.
	(gfc_trans_omp_ordered): Use OMP_ORDERED.
	testsuite/
	* g++.dg/gomp/critical-1.C: Search the omplower dump.
	* g++.dg/gomp/master-3.C, g++.dg/gomp/ordered-1.C: Likewise.
	* gcc.dg/gomp/critical-1.c, gcc.dg/gomp/master-3.c: Likewise.
	* gcc.dg/gomp/ordered-1.c: Likewise.
	* gcc.dg/gomp/block-1.c: Add ok goto tests.
	* gcc.dg/gomp/block-2.c, gcc.dg/gomp/block-3.c: New.
	* gcc.dg/gomp/block-4.c, gcc.dg/gomp/block-5.c: New.
	* gcc.dg/gomp/block-6.c, gcc.dg/gomp/critical-3.c: New.

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.92&r2=1.1.6.93
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.18&r2=1.1501.4.19
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.h.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.294.4.14&r2=1.294.4.15
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-omp.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.2.14&r2=1.1.2.15
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.35&r2=2.17.4.36
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.33&r2=2.135.4.34
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.29&r2=1.1.2.30
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-gimple.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=2.38.4.6&r2=2.38.4.7
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.5&r2=2.22.8.6
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.8&r2=2.27.4.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.def.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.116.4.19&r2=1.116.4.20
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.22&r2=1.735.4.23
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.gomp.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.8.11&r2=1.1.8.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.340.4.14&r2=1.340.4.15
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.gomp.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.2.25&r2=1.1.2.26
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-openmp.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.2.14&r2=1.1.2.15
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.gomp.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.2.38&r2=1.1.2.39
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/gomp/critical-1.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/g++.dg/gomp/master-3.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/g++.dg/gomp/ordered-1.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/block-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/block-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/block-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/block-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/block-6.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/critical-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/block-1.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/critical-1.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/master-3.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/ordered-1.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.2.1&r2=1.1.2.2


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