[Bug fortran/31917] GFORTRAN_CONVERT_UNIT is ignored

burnus at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon May 14 08:38:00 GMT 2007



------- 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



More information about the Gcc-bugs mailing list