From 1941551ace983154b5ded7ef85b01d7c2562fe4f Mon Sep 17 00:00:00 2001 From: Tobias Burnus Date: Thu, 17 May 2007 10:40:46 +0200 Subject: [PATCH] gfortran.texi (GFORTRAN_CONVERT_UNIT): Improve documentation. 2007-05-17 Tobias Burnus * gfortran.texi (GFORTRAN_CONVERT_UNIT): Improve documentation. From-SVN: r124788 --- gcc/fortran/ChangeLog | 4 ++++ gcc/fortran/gfortran.texi | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index d89c888bc8a6..78698b3c44fe 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,7 @@ +2007-05-17 Tobias Burnus + + * gfortran.texi (GFORTRAN_CONVERT_UNIT): Improve documentation. + 2007-05-16 Brooks Moses PR fortran/18769 diff --git a/gcc/fortran/gfortran.texi b/gcc/fortran/gfortran.texi index 819651b1f051..6b604afe4626 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