This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/31917] GFORTRAN_CONVERT_UNIT is ignored



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]