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

tschwinge@gcc.gnu.org tschwinge@gcc.gnu.org
Thu Nov 7 16:48:00 GMT 2013


Author: tschwinge
Date: Thu Nov  7 16:48:39 2013
New Revision: 204526

URL: http://gcc.gnu.org/viewcvs?rev=204526&root=gcc&view=rev
Log:
OpenACC: Recognize -fopenacc.

	gcc/c-family/
	* c.opt (fopenacc): New option.
	gcc/fortran/
	* lang.opt (fopenacc): New option.
	* invoke.texi (-fopenacc): Document it.
	* gfortran.h (gfc_option_t): New member.
	* options.c (gfc_init_options, gfc_handle_option): Handle it.
	gcc/testsuite/
	* lib/target-supports.exp (check_effective_target_fopenacc): New
	procedure.
	gcc/
	* doc/invoke.texi (-fopenacc): Document it.
	* doc/sourcebuild.texi (fopenacc): Document it.

	gcc/testsuite/
	* c-c++-common/cpp/openacc-define-1.c: New file.
	* c-c++-common/cpp/openacc-define-2.c: Likewise.
	* c-c++-common/cpp/openacc-define-3.c: Likewise.
	* gfortran.dg/openacc-define-1.f90: Likewise.
	* gfortran.dg/openacc-define-2.f90: Likewise.
	* gfortran.dg/openacc-define-3.f90: Likewise.

Added:
    branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/cpp/openacc-define-1.c
    branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/cpp/openacc-define-2.c
    branches/gomp-4_0-branch/gcc/testsuite/c-c++-common/cpp/openacc-define-3.c
    branches/gomp-4_0-branch/gcc/testsuite/gfortran.dg/openacc-define-1.f90
    branches/gomp-4_0-branch/gcc/testsuite/gfortran.dg/openacc-define-2.f90
    branches/gomp-4_0-branch/gcc/testsuite/gfortran.dg/openacc-define-3.f90
Modified:
    branches/gomp-4_0-branch/gcc/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/c-family/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/c-family/c.opt
    branches/gomp-4_0-branch/gcc/doc/invoke.texi
    branches/gomp-4_0-branch/gcc/doc/sourcebuild.texi
    branches/gomp-4_0-branch/gcc/fortran/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/fortran/gfortran.h
    branches/gomp-4_0-branch/gcc/fortran/invoke.texi
    branches/gomp-4_0-branch/gcc/fortran/lang.opt
    branches/gomp-4_0-branch/gcc/fortran/options.c
    branches/gomp-4_0-branch/gcc/testsuite/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/testsuite/lib/target-supports.exp



More information about the Gcc-cvs mailing list