This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Coarray status and commit of: [Patch,Fortran,4.6] Coarray 7/n - add -fcoarray=<none|single>
- From: Tobias Burnus <burnus at net-b dot de>
- To: Daniel Kraft <d at domob dot eu>
- Cc: gcc patches <gcc-patches at gcc dot gnu dot org>, gfortran <fortran at gcc dot gnu dot org>
- Date: Tue, 06 Apr 2010 21:05:12 +0200
- Subject: Coarray status and commit of: [Patch,Fortran,4.6] Coarray 7/n - add -fcoarray=<none|single>
- References: <4BB3B35A.6000107@net-b.de> <4BBB559D.5060109@domob.eu>
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.