]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gfortran.texi (GFORTRAN_CONVERT_UNIT): Improve documentation.
authorTobias Burnus <burnus@net-b.de>
Thu, 17 May 2007 08:40:46 +0000 (10:40 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Thu, 17 May 2007 08:40:46 +0000 (10:40 +0200)
2007-05-17  Tobias Burnus  <burnus@net-b.de>

        * gfortran.texi (GFORTRAN_CONVERT_UNIT): Improve documentation.

From-SVN: r124788

gcc/fortran/ChangeLog
gcc/fortran/gfortran.texi

index d89c888bc8a6bc2476c6f15f02fa2c9bffe801b8..78698b3c44fea106eea4d5c99dc4e24f2ada0ebd 100644 (file)
@@ -1,3 +1,7 @@
+2007-05-17  Tobias Burnus  <burnus@net-b.de>
+
+       * gfortran.texi (GFORTRAN_CONVERT_UNIT): Improve documentation.
+
 2007-05-16  Brooks Moses  <brooks.moses@codesourcery.com>
 
        PR fortran/18769
index 819651b1f05172fbe5a482bff2a7d1e7120c65a4..6b604afe46267d576044c8e4f723b39fe3976118 100644 (file)
@@ -611,7 +611,7 @@ By setting the @env{GFORTRAN_CONVERT_UNIT} variable, it is possible
 to change the representation of data for unformatted files.
 The syntax for the @env{GFORTRAN_CONVERT_UNIT} variable is:
 @smallexample
-GFORTRAN_CONVERT_UNIT: mode | mode ';' exception ;
+GFORTRAN_CONVERT_UNIT: mode | mode ';' exception | exception ;
 mode: 'native' | 'swap' | 'big_endian' | 'little_endian' ;
 exception: mode ':' unit_list | unit_list ;
 unit_list: unit_spec | unit_list unit_spec ;
@@ -668,6 +668,11 @@ data representation for unformatted files.  @xref{Runtime Options}, for
 setting a default data representation for the whole program.  The
 @code{CONVERT} specifier overrides the @option{-fconvert} compile options.
 
+@emph{Note that the values specified via the GFORTRAN_CONVERT_UNIT
+environment variable will override the CONVERT specifier in the
+open statement}.  This is to give control over data formats to
+users who do not have the source code of their program available.
+
 
 @c =====================================================================
 @c PART II: LANGUAGE REFERENCE