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

Re: [Committed] Updates to gfortran docs. WAS: Re: Minor texi patch


On Sat, Aug 26, 2006 at 10:31:14AM -0700, Steve Kargl wrote:
> 
> Committed with the following ChangeLog.
> 
> 2006-08-26  Tobias Burnus  <burnus@net-b.de>
> 
>     * gfortran.texi: Note variable initialization causes SAVE attribute.   
>     * intrinsic.texi: Clarify support for KIND=16 and KIND=10.
>     Mention -std=f2003.  Cross reference INQUIRE from ACCESS intrinsic.
>     Add missing ) in ACOS.
> 
> 
> Tobias, in the future, please include your patch as an attachment.
> This prevents email programmers from mangling the formatting.  Also,
> provide a short, concise ChangeLog entry.  Finally, send a CC to
> gcc-patches@gcc.gnu.org
> 

Of course, I forgot to attach the patch.

-- 
Steve
--- Begin Message ---
--- gfortran.texi       (revision 116466)
+++ gfortran.texi       (working copy)
@@ -801,6 +801,9 @@
       DATA i,j,x /1,2,3*0.,1./
 @end smallexample

+Note that variables initialized in type declarations
+automatically acquire the @code{SAVE} attribute.
+
 @node Extensions to namelist
 @section Extensions to namelist
 @cindex Namelist
Index: intrinsic.texi
===================================================================
--- intrinsic.texi      (revision 116466)
+++ intrinsic.texi      (working copy)
@@ -253,6 +253,8 @@
 respectively.  The standard mandates that both data types shall have
 another kind, which have more precision.  On typical target architectures
 supported by @command{gfortran}, this kind type parameter is @code{KIND=8}.
+Depending on the target architectures, @code{KIND=10} and @code{KIND=16}
+might also be available.
 Hence, @code{REAL(KIND=8)} and @code{DOUBLE PRECISION} are equivalent.
 In the description of generic intrinsic procedures, the kind type parameter
 will be specified by @code{KIND=*}, and in the description of specific
@@ -264,7 +266,8 @@
 This document follows the convention used in the Fortran 95 standard,
 and denotes such arguments by square brackets.

-@command{Gfortran} offers the @option{-std=f95} and @option{-std=gnu}
options,
+@command{Gfortran} offers the @option{-std=f95}, @option{-std=f2003} and
+@option{-std=gnu} options,
 which can be used to restrict the set of intrinsic procedures to a
 given standard.  By default, @command{gfortran} sets the @option{-std=gnu}
 option, and so all intrinsic procedures described here are accepted.  There
@@ -378,10 +381,13 @@
 @findex @code{ACCESS}
 @cindex file system functions

-Not yet implemented in gfortran.
+Not yet implemented in gfortran. Except for querying the executable state,
+the Fortran 95 intrinsic statement @code{INQUIRE} can be used instead.

 @table @asis
 @item @emph{Description}:
+Checks whether the file associated with the given file name exists, is
readable,
+writeable or executable.

 @item @emph{Standard}:
 GNU extension
@@ -445,7 +451,7 @@

 @table @asis
 @item @emph{Description}:
-@code{ACOS(X)} computes the arccosine of @var{X} (inverse of @code{COS(X)}.
+@code{ACOS(X)} computes the arccosine of @var{X} (inverse of
@code{COS(X)}).

 @item @emph{Standard}:
 F77 and later


--- End Message ---

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