r217532 - in /branches/gomp-4_0-branch/gcc: for...

cesar@gcc.gnu.org cesar@gcc.gnu.org
Fri Nov 14 01:34:00 GMT 2014


Author: cesar
Date: Fri Nov 14 01:34:33 2014
New Revision: 217532

URL: https://gcc.gnu.org/viewcvs?rev=217532&root=gcc&view=rev
Log:
	gcc/fortran/
	* f95-lang.c (DEF_GOACC_BUILTIN_COMPILER): Remove bogus TODO.
	* gfortran.h (gfc_omp_clauses): Move loc out of the ext union and
	remove the ext union.
	* match.c (match_exit_cycle): Make the error message specific to
	OpenMP/OpenACC.
	* openmp.c (OMP_CLAUSE_PRIVATE, OMP_CLAUSE_FIRSTPRIVATE,
	OMP_CLAUSE_LASTPRIVATE, OMP_CLAUSE_COPYPRIVATE, OMP_CLAUSE_SHARED
	OMP_CLAUSE_COPYIN, OMP_CLAUSE_REDUCTION, OMP_CLAUSE_IF,
	OMP_CLAUSE_NUM_THREADS, OMP_CLAUSE_SCHEDULE, OMP_CLAUSE_DEFAULT,
	OMP_CLAUSE_ORDERED, OMP_CLAUSE_COLLAPSE, OMP_CLAUSE_UNTIED,
	OMP_CLAUSE_FINAL, OMP_CLAUSE_MERGEABLE, OMP_CLAUSE_ALIGNED,
	OMP_CLAUSE_DEPEND, OMP_CLAUSE_INBRANCH, OMP_CLAUSE_LINEAR,
	OMP_CLAUSE_NOTINBRANCH, OMP_CLAUSE_PROC_BIND, OMP_CLAUSE_SAFELEN,
	OMP_CLAUSE_SIMDLEN, OMP_CLAUSE_UNIFORM, OMP_CLAUSE_DEVICE,
	OMP_CLAUSE_MAP, OMP_CLAUSE_TOOMP_CLAUSE_FROM, OMP_CLAUSE_NUM_TEAMS,
	OMP_CLAUSE_THREAD_LIMIT, OMP_CLAUSE_DIST_SCHEDULE, OMP_CLAUSE_ASYNC,
	OMP_CLAUSE_NUM_GANGS, OMP_CLAUSE_NUM_WORKERS, OMP_CLAUSE_VECTOR_LENGTH,
	OMP_CLAUSE_COPY, OMP_CLAUSE_COPYOUT, OMP_CLAUSE_CREATE,
	OMP_CLAUSE_PRESENT, OMP_CLAUSE_PRESENT_OR_COPY,
	OMP_CLAUSE_PRESENT_OR_COPYIN, OMP_CLAUSE_PRESENT_OR_COPYOUT,
	OMP_CLAUSE_PRESENT_OR_CREATE, OMP_CLAUSE_DEVICEPTR,
	OMP_CLAUSE_GANG, OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR,
	OMP_CLAUSE_SEQ, OMP_CLAUSE_INDEPENDENT, OMP_CLAUSE_USE_DEVICE,
	OMP_CLAUSE_DEVICE_RESIDENT, OMP_CLAUSE_HOST_SELF,
	OMP_CLAUSE_OACC_DEVICE, OMP_CLAUSE_WAIT, OMP_CLAUSE_DELETE,
	OMP_CLAUSE_AUTO, OMP_CLAUSE_TILE): Use unit64_t for the bitmasks.
	(gfc_match_omp_clauses):  Use unit64_t for mask.
	(gfc_match_oacc_declare): Update usage of omp_clause->loc.
	(omp_code_to_statement): Fix whitespace.
	(oacc_code_to_statement): Likewise. 
	(resolve_oacc_loop):Likewise.
	(resolve_oacc_cache):  Replace gfc_error with a sorry for this
	unimplemented directive.
	(gfc_resolve_oacc_declare): Update usage of omp_clause->loc. Remove
	FIXME and TODO, see PR63869.
	* parse.c (parse_critical_block): Make the error message specific to
	OpenMP/OpenACC.
	(is_oacc): New function.
	* parse.h (is_oacc): Declare.
	* scanner.c (openmp_flag, openacc_flag): Move comment.
	(gfc_next_char_literal): Merge nested if stmts.
	* trans-openmp.c (gfc_trans_omp_clauses): Fix whitespace.
	(gfc_trans_oacc_declare): Fix whitespace.

	gcc/testsuite/
	* gfortran.dg/gomp/omp_do1.f90: Update expected error.


Modified:
    branches/gomp-4_0-branch/gcc/fortran/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/fortran/f95-lang.c
    branches/gomp-4_0-branch/gcc/fortran/gfortran.h
    branches/gomp-4_0-branch/gcc/fortran/match.c
    branches/gomp-4_0-branch/gcc/fortran/openmp.c
    branches/gomp-4_0-branch/gcc/fortran/parse.c
    branches/gomp-4_0-branch/gcc/fortran/parse.h
    branches/gomp-4_0-branch/gcc/fortran/scanner.c
    branches/gomp-4_0-branch/gcc/fortran/trans-openmp.c
    branches/gomp-4_0-branch/gcc/testsuite/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/testsuite/gfortran.dg/gomp/omp_do1.f90



More information about the Gcc-cvs mailing list