gcc/gcc fortran/ChangeLog.gomp testsuite/Chang ...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Tue Sep 27 14:08:00 GMT 2005


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gomp-20050608-branch
Changes by:	jakub@gcc.gnu.org	2005-09-27 14:08:28

Modified files:
	gcc/fortran    : ChangeLog.gomp 
	gcc/testsuite  : ChangeLog.gomp 
	gcc/fortran    : trans-openmp.c trans-stmt.c parse.c openmp.c 
	gcc/testsuite/gfortran.dg/gomp: omp_do1.f90 
Added files:
	gcc/testsuite/gfortran.dg/gomp: omp_clauses1.f90 
	                                omp_threadprivate1.f90 

Log message:
	* trans-openmp.c (gfc_trans_omp_clauses): Change second argument to
	gfc_omp_clauses *.  Use gfc_evaluate_now instead of creating
	temporaries by hand.
	(gfc_trans_omp_atomic, gfc_trans_omp_critical): Use buildN_v macros.
	(gfc_trans_omp_do): New function.
	(gfc_trans_omp_master): Dont' check for gfc_trans_code returning NULL.
	(gfc_trans_omp_parallel): Adjust gfc_trans_omp_clauses caller.
	Use buildN_v macros.
	(gfc_trans_omp_parallel_do, gfc_trans_omp_parallel_sections,
	gfc_trans_omp_parallel_workshare, gfc_trans_omp_sections,
	gfc_trans_omp_single, gfc_trans_omp_workshare): New functions.
	(gfc_trans_omp_directive): Use them.
	* trans-stmt.c (gfc_trans_simple_do): Fix comment.
	* parse.c (parse_omp_do): Allow new_st.op == EXEC_NOP.
	* openmp.c (resolve_omp_clauses): Check for list items present
	in multiple clauses.
	(resolve_omp_do): Check that iteration variable is not THREADPRIVATE
	and is not present in any clause variable lists other than PRIVATE
	or LASTPRIVATE.
	
	* gfortran.dg/gomp/omp_do1.f90: Add check for iteration var in
	SHARED clause.
	* gfortran.dg/gomp/omp_clauses1.f90: New test.
	* gfortran.dg/gomp/omp_threadprivate1.f90: New test.

Patches:
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.8&r2=1.1.2.9
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.7&r2=1.1.2.8
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.5&r2=1.1.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/trans-stmt.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.32.4.5&r2=1.32.4.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/parse.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.27.4.5&r2=1.27.4.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/openmp.c.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.2.4&r2=1.1.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/gomp/omp_clauses1.f90.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/gfortran.dg/gomp/omp_threadprivate1.f90.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/gfortran.dg/gomp/omp_do1.f90.diff?cvsroot=gcc&only_with_tag=gomp-20050608-branch&r1=1.1.2.1&r2=1.1.2.2



More information about the Gcc-cvs mailing list