This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Coarray status and commit of: [Patch,Fortran,4.6] Coarray 7/n - add -fcoarray=<none|single>


Daniel Kraft wrote:
> Ok.  I like this :)
Thanks for the review and all the other reviews. I have now checked in
this -fcoarray=<none|single> patch.

Coarray status on the 4.6 trunk:

Single image coarray support (i.e. num_images() == 1) with:
* -fcoarray=<none|single> compile-time flag
* Declaration of coarrays
  (But: no coindexed expressions / no expressions with coarrays)
* Image-control statements:
  - ERROR STOP
  - CRITICAL block
  - SYNC ALL/MEMORY/IMAGES
* Intrinsics
  - num_images
* ISO_FORTRAN_ENV module: The integer parameters
  atomic_int_kind, atomic_logical_kind, iostat_inquire_internal_unit,
  stat_locked, stat_locked_other_image, stat_stopped_image, and
  stat_unlocked

Currently _unsupported_ are:
* Coarrays in expressions/coindexed expressions
* allocatable coarrays
* this_image(), ucobound(), lcobound(), image_index()
* lock()/unlock(), atomic_define()/atomic_ref(), type(LOCK_TYPE)

Expressions are supported via the still unreviewed patch at:
http://gcc.gnu.org/ml/fortran/2010-03/msg00219.html

Tobias

Regarding fcoarray=<none|single>:
Sending        gcc/fortran/ChangeLog
Sending        gcc/fortran/array.c
Sending        gcc/fortran/gfortran.h
Sending        gcc/fortran/invoke.texi
Sending        gcc/fortran/lang.opt
Sending        gcc/fortran/match.c
Sending        gcc/fortran/options.c
Sending        gcc/testsuite/ChangeLog
Sending        gcc/testsuite/gfortran.dg/coarray_2.f90
Sending        gcc/testsuite/gfortran.dg/coarray_3.f90
Sending        gcc/testsuite/gfortran.dg/coarray_4.f90
Sending        gcc/testsuite/gfortran.dg/coarray_6.f90
Adding         gcc/testsuite/gfortran.dg/coarray_9.f90
Transmitting file data .............
Committed revision 158016.


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