aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTobias Burnus <burnus@net-b.de>2007-05-17 10:40:46 +0200
committerTobias Burnus <burnus@gcc.gnu.org>2007-05-17 10:40:46 +0200
commit1941551ace983154b5ded7ef85b01d7c2562fe4f (patch)
treeb59ae429c22ca8d10d64802c60ed10342ed3544f /gcc
parent2d24f24b97c347da705188b5f96dfcacd76b2d4c (diff)
downloadgcc-1941551ace983154b5ded7ef85b01d7c2562fe4f.zip
gcc-1941551ace983154b5ded7ef85b01d7c2562fe4f.tar.gz
gcc-1941551ace983154b5ded7ef85b01d7c2562fe4f.tar.bz2
gfortran.texi (GFORTRAN_CONVERT_UNIT): Improve documentation.
2007-05-17 Tobias Burnus <burnus@net-b.de> * gfortran.texi (GFORTRAN_CONVERT_UNIT): Improve documentation. From-SVN: r124788
Diffstat (limited to 'gcc')
-rw-r--r--gcc/fortran/ChangeLog4
-rw-r--r--gcc/fortran/gfortran.texi7
2 files changed, 10 insertions, 1 deletions
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index d89c888..78698b3 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -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
diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi
index 819651b..6b604af 100644
--- a/gcc/fortran/gfortran.texi
+++ b/gcc/fortran/gfortran.texi
@@ -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