Patchwork [Fortran] gfortran.texi: Update (C) year and F2003 status

login
register
mail settings
Submitter Tobias Burnus
Date Jan. 9, 2012, 2:38 p.m.
Message ID <4F0AFBDD.9000505@net-b.de>
Download mbox | patch
Permalink /patch/135029/
State New
Headers show

Comments

Tobias Burnus - Jan. 9, 2012, 2:38 p.m.
Ok for the trunk? (Build + "make pdf" tested)

Tobias
Steve Kargl - Jan. 9, 2012, 3:33 p.m.
On Mon, Jan 09, 2012 at 03:38:21PM +0100, Tobias Burnus wrote:
> Ok for the trunk? (Build + "make pdf" tested)
> 
> Tobias

The two "which" clauses in the 1st sentence seem awkward.  How
about the following changes?  OK, after considering the suggested
changes.

+@item Generic interface name which have the same name as derived types are

comma between "name which" and "types are".

+now supported, which allows to write constructor functions. Note that

Change comma to period.  s/which allows/This allows one/

+Fortran does not support static constructor functions. For static
+variables, only default initialization or structure-constructor
+initialization are available.

The complete suggested change:

@item Generic interface name, which have the same name as derived types,
are now supported. This allows one to write constructor functions.  Note
that Fortran does not support static constructor functions.  For static
variables, only default initialization or structure-constructor
initialization are available.
Gerald Pfeifer - Jan. 10, 2012, 11:31 a.m.
On Mon, 9 Jan 2012, Steve Kargl wrote:
> @item Generic interface name, which have the same name as derived types,

"interface names", perhaps?

Gerald

Patch

2012-01-09  Tobias Burnus  <burnus@net-b.de>

	* gfortran.texi: Bump copyright year.
	(Fortran 2003 Status): Update polymorphism item, add
	item for generic interface with DT name.

diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi
index aac2d90..faa997e 100644
--- a/gcc/fortran/gfortran.texi
+++ b/gcc/fortran/gfortran.texi
@@ -1,7 +1,7 @@ 
 \input texinfo  @c -*-texinfo-*-
 @c %**start of header
 @setfilename gfortran.info
-@set copyrights-gfortran 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
+@set copyrights-gfortran 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
 
 @include gcc-common.texi
 
@@ -795,8 +795,13 @@  override type-bound procedures or to have deferred binding.
 
 @item Polymorphic entities (``@code{CLASS}'') for derived types -- including
 @code{SAME_TYPE_AS}, @code{EXTENDS_TYPE_OF} and @code{SELECT TYPE}.
-Note that the support for array-valued polymorphic entities is incomplete
-and unlimited polymophism is currently not supported.
+Note that unlimited polymophism is currently not supported.
+
+@item Generic interface name which have the same name as derived types are
+now supported, which allows to write constructor functions. Note that
+Fortran does not support static constructor functions. For static
+variables, only default initialization or structure-constructor
+initialization are available. 
 
 @item The @code{ASSOCIATE} construct.