------- Comment #17 from burnus at gcc dot gnu dot org 2010-04-06 19:03 ------- Subject: Bug 18918
Author: burnus Date: Tue Apr 6 19:03:10 2010 New Revision: 158016 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158016 Log: 2010-04-06 Tobias Burnus <bur...@net-b.de> PR fortran/18918 * array.c (gfc_match_array_spec): Add error for -fcoarray=none. * match.c (gfc_match_critical, sync_statement): Ditto. * gfortran.h (gfc_fcoarray): New enum. (gfc_option_t): Use it. * lang.opt (fcoarray): Add new flag. * invoke.texi (fcoarray): Document it. * options.c (gfc_init_options,gfc_handle_option): Handle * -fcoarray=. (gfc_handle_coarray_option): New function. 2010-04-06 Tobias Burnus <bur...@net-b.de> PR fortran/18918 * gfortran.dg/coarray_2.f90: Add dg-options -fcoarray=single. * gfortran.dg/coarray_3.f90: Ditto. * gfortran.dg/coarray_4.f90: Ditto. * gfortran.dg/coarray_5.f90: Ditto. * gfortran.dg/coarray_6.f90: Ditto. * gfortran.dg/coarray_7.f90: Ditto. * gfortran.dg/coarray_8.f90: Ditto. * gfortran.dg/coarray_9.f90: New -fcoarray=none test. Added: trunk/gcc/testsuite/gfortran.dg/coarray_9.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/array.c trunk/gcc/fortran/gfortran.h trunk/gcc/fortran/invoke.texi trunk/gcc/fortran/lang.opt trunk/gcc/fortran/match.c trunk/gcc/fortran/options.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/coarray_2.f90 trunk/gcc/testsuite/gfortran.dg/coarray_3.f90 trunk/gcc/testsuite/gfortran.dg/coarray_4.f90 trunk/gcc/testsuite/gfortran.dg/coarray_6.f90 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18918