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]

r227305 - in /branches/gomp-4_0-branch: gcc/Cha...


Author: cesar
Date: Fri Aug 28 15:33:58 2015
New Revision: 227305

URL: https://gcc.gnu.org/viewcvs?rev=227305&root=gcc&view=rev
Log:
	gcc/
	* omp-low.c (extract_oacc_routine_gwv): New function.
	(build_outer_var_ref): Handle refs inside acc routines.
	(scan_omp_for): Check nested parallelism inside acc routines.
	(scan_omp_1_stmt): Check for compatible parallelism when calling
	routines.
	(execute_oacc_transform): Remove dead variable.

	gcc/testsuite/
	* c-c++-common/goacc/routine-6.c: New test.
	* c-c++-common/goacc/routine-7.c: New test.
	* gfortran.dg/goacc/routine-4.f90: New test.
	* gfortran.dg/goacc/routine-5.f90: New test.

	libgomp/
	* testsuite/libgomp.oacc-c-c++-common/routine-4.c: Fix calls to
	acc routines.
	* testsuite/libgomp.oacc-fortran/routine-7.f90: Likewise.
	* testsuite/libgomp.oacc-fortran/vector-routine.f90: Likewise.


Added:
    branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/goacc/routine-6.c
    branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/goacc/routine-7.c
    branches/gomp-4_0-branch/gcc/testsuite/gfortran.dg/goacc/routine-4.f90
    branches/gomp-4_0-branch/gcc/testsuite/gfortran.dg/goacc/routine-5.f90
Modified:
    branches/gomp-4_0-branch/gcc/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/omp-low.c
    branches/gomp-4_0-branch/gcc/testsuite/ChangeLog.gomp
    branches/gomp-4_0-branch/libgomp/ChangeLog.gomp
    branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-c-c++-common/routine-4.c
    branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-fortran/routine-7.f90
    branches/gomp-4_0-branch/libgomp/testsuite/libgomp.oacc-fortran/vector-routine.f90


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