This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31917] GFORTRAN_CONVERT_UNIT is ignored
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 May 2007 08:38:10 -0000
- Subject: [Bug fortran/31917] GFORTRAN_CONVERT_UNIT is ignored
- References: <bug-31917-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from burnus at gcc dot gnu dot org 2007-05-14 09:38 -------
> GFORTRAN_CONVERT_UNIT set to ""
> default:"BIG_ENDIAN"
> GFORTRAN_CONVERT_UNIT set to "LITTLE_ENDIAN"
> default:"BIG_ENDIAN"
> However I am confused about what to expect from this test:
> should the default change or not?
I would expect that the default changes depending on the environment variable.
But according to the documentation all should change:
"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."
Documentation "bug": Such a statement is missing for GFORTRAN_CONVERT_UNIT
section; it is only present in the CONVERT specifier section:
http://gcc.gnu.org/onlinedocs/gfortran/CONVERT-specifier.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31917