aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2011-05-16 22:37:30 +0200
committerTobias Burnus <burnus@gcc.gnu.org>2011-05-16 22:37:30 +0200
commit20c97ec9baa279470107a024fe57b1eb66a85d5c (patch)
tree11be9a1909a20f61778c48ece1fd67902e378b9f /gcc/fortran
parentf402985af450dd533566eb6adb9966a0d837f0a9 (diff)
downloadgcc-20c97ec9baa279470107a024fe57b1eb66a85d5c.zip
gcc-20c97ec9baa279470107a024fe57b1eb66a85d5c.tar.gz
gcc-20c97ec9baa279470107a024fe57b1eb66a85d5c.tar.bz2
gfortran.texi (_gfortran_set_options): Add GFC_STD_F2008_TR.
2011-05-16 Tobias Burnus <burnus@net-b.de> * gfortran.texi (_gfortran_set_options): Add GFC_STD_F2008_TR. (Fortran 2008 status): Multi-image support for coarrays. (TR 19113 status): New section. From-SVN: r173804
Diffstat (limited to 'gcc/fortran')
-rw-r--r--gcc/fortran/ChangeLog6
-rw-r--r--gcc/fortran/gfortran.texi37
2 files changed, 34 insertions, 9 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index 0300b1d..1fb7947 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-16 Tobias Burnus <burnus@net-b.de>
+
+ * gfortran.texi (_gfortran_set_options): Add GFC_STD_F2008_TR.
+ (Fortran 2008 status): Multi-image support for coarrays.
+ (TR 19113 status): New section.
+
2011-05-15 Tobias Burnus <burnus@net-b.de>
PR fortran/18918
diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi
index 717f273..995d9d8 100644
--- a/gcc/fortran/gfortran.texi
+++ b/gcc/fortran/gfortran.texi
@@ -772,6 +772,7 @@ compile option was used.
@menu
* Fortran 2003 status::
* Fortran 2008 status::
+* TR 29113 status::
@end menu
@node Fortran 2003 status
@@ -953,8 +954,8 @@ International Organization for Standardization and the International
Electrotechnical Commission (IEC). This group is known as
@uref{http://www.nag.co.uk/sc22wg5/, WG5}.
-The GNU Fortran supports several of the new features of Fortran 2008; the
-@uref{http://gcc.gnu.org/wiki/Fortran2008Status, wiki} has some information
+The GNU Fortran compiler supports several of the new features of Fortran 2008;
+the @uref{http://gcc.gnu.org/wiki/Fortran2008Status, wiki} has some information
about the current Fortran 2008 implementation status. In particular, the
following is implemented.
@@ -1002,8 +1003,8 @@ the intrinsic module @code{ISO_FORTRAN_ENV}.
@code{ISO_C_BINDINGS} and @code{COMPILER_VERSION} and @code{COMPILER_OPTIONS}
of @code{ISO_FORTRAN_ENV}.
-@item Experimental coarray support (for one image only), use the
-@option{-fcoarray=single} flag to enable it.
+@item Experimental coarray, use the @option{-fcoarray=single} or
+@option{-fcoarray=lib} flag to enable it.
@item The @code{BLOCK} construct is supported.
@@ -1048,6 +1049,23 @@ arrays are supported for named constants (@code{PARAMETER}).
+@node TR 29113 status
+@section Fortran 29113 status
+
+GNU Fortran supports some of the new features of the technical report (TR)
+29113 on Further Interoperability of Fortran with C.
+@uref{http://gcc.gnu.org/wiki/Fortran2008Status, wiki} has some information
+about the current TR 29113 implementation status. In particular, the
+following is implemented.
+
+@itemize
+@item The @option{-std=f2008} option.
+@item The OPTIONAL attribute is now allowed for dummy arguments of
+BIND(C) procedures.
+@end itemize
+
+
+
@c ---------------------------------------------------------------------
@c Compiler Characteristics
@c ---------------------------------------------------------------------
@@ -2601,10 +2619,11 @@ if e.g. an input-output edit descriptor is invalid in a given standard.
Possible values are (bitwise or-ed) @code{GFC_STD_F77} (1),
@code{GFC_STD_F95_OBS} (2), @code{GFC_STD_F95_DEL} (4), @code{GFC_STD_F95}
(8), @code{GFC_STD_F2003} (16), @code{GFC_STD_GNU} (32),
-@code{GFC_STD_LEGACY} (64), @code{GFC_STD_F2008} (128), and
-@code{GFC_STD_F2008_OBS} (256). Default: @code{GFC_STD_F95_OBS
-| GFC_STD_F95_DEL | GFC_STD_F95 | GFC_STD_F2003 | GFC_STD_F2008
-| GFC_STD_F2008_OBS | GFC_STD_F77 | GFC_STD_GNU | GFC_STD_LEGACY}.
+@code{GFC_STD_LEGACY} (64), @code{GFC_STD_F2008} (128),
+@code{GFC_STD_F2008_OBS} (256) and GFC_STD_F2008_TR (512). Default:
+@code{GFC_STD_F95_OBS | GFC_STD_F95_DEL | GFC_STD_F95 | GFC_STD_F2003
+| GFC_STD_F2008 | GFC_STD_F2008_TR | GFC_STD_F2008_OBS | GFC_STD_F77
+| GFC_STD_GNU | GFC_STD_LEGACY}.
@item @var{option}[1] @tab Standard-warning flag; prints a warning to
standard error. Default: @code{GFC_STD_F95_DEL | GFC_STD_LEGACY}.
@item @var{option}[2] @tab If non zero, enable pedantic checking.
@@ -2627,7 +2646,7 @@ Default: enabled. See -frange-check (@pxref{Code Gen Options}).
@item @emph{Example}:
@smallexample
/* Use gfortran 4.7 default options. */
- static int options[] = @{68, 255, 0, 0, 1, 1, 0, 1@};
+ static int options[] = @{68, 511, 0, 0, 1, 1, 0, 1@};
_gfortran_set_options (8, &options);
@end smallexample
@end table