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

cesar@gcc.gnu.org cesar@gcc.gnu.org
Tue Oct 13 20:17:00 GMT 2015


Author: cesar
Date: Tue Oct 13 20:17:47 2015
New Revision: 228782

URL: https://gcc.gnu.org/viewcvs?rev=228782&root=gcc&view=rev
Log:
	gcc/fortran/
	* trans-array.c (gfc_trans_array_bounds): Add an INIT_VLA argument
	to control whether VLAs should be initialized.  Don't mark this
	function as static.
	(gfc_trans_auto_array_allocation): Update call to
	gfc_trans_array_bounds.
	(gfc_trans_g77_array): Likewise.
	* trans-array.h: Declare gfc_trans_array_bounds.
	* trans-openmp.c (gfc_scan_nodesc_arrays): New function.
	(gfc_privatize_nodesc_arrays_1): New function.
	(gfc_privatize_nodesc_arrays): New function.
	(gfc_init_nodesc_arrays): New function.
	(gfc_trans_oacc_construct): Initialize any internal variables for
	arrays without array descriptors inside the offloaded parallel and
	kernels region.
	(gfc_trans_oacc_combined_directive): Likewise.

	gcc/testsuite/
	* gfortran.dg/goacc/default_none.f95: New test.


Added:
    branches/gomp-4_0-branch/gcc/testsuite/gfortran.dg/goacc/default_none.f95
Modified:
    branches/gomp-4_0-branch/gcc/fortran/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/fortran/trans-array.c
    branches/gomp-4_0-branch/gcc/fortran/trans-array.h
    branches/gomp-4_0-branch/gcc/fortran/trans-openmp.c
    branches/gomp-4_0-branch/gcc/testsuite/ChangeLog.gomp



More information about the Gcc-cvs mailing list