public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "tkoenig at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/23815] Add -byteswapio flag
Date: Mon, 06 Feb 2006 20:12:00 -0000	[thread overview]
Message-ID: <20060206201249.6685.qmail@sourceware.org> (raw)
In-Reply-To: <bug-23815-7128@http.gcc.gnu.org/bugzilla/>



------- Comment #30 from tkoenig at gcc dot gnu dot org  2006-02-06 20:12 -------
Subject: Bug 23815

Author: tkoenig
Date: Mon Feb  6 20:12:44 2006
New Revision: 110664

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110664
Log:
2005-02-06  Thomas Koenig  <Thomas.Koenig@online.de>

        PR libfortran/23815
        * gfortran.texi: Document the GFORTRAN_CONVERT_UNIT environment
        variable.
        * invoke.texi:  Mention the "Runtime" chapter.
        Document the -fconvert= option.
        * gfortran.h:  Add options_convert.
        * lang.opt:  Add fconvert=little-endian, fconvert=big-endian,
        fconvert=native and fconvert=swap.
        * trans-decl.c (top level):  Add gfor_fndecl_set_convert.
        (gfc_build_builtin_function_decls):  Set gfor_fndecl_set_convert.
        (gfc_generate_function_code):  If -fconvert was specified,
        and this is the main program, add a call to set_convert().
        * options.c:  Handle the -fconvert options.

2005-02-06  Thomas Koenig  <Thomas.Koenig@online.de>

        PR libfortran/23815
        * runtime/environ.c (init_unformatted):  Add GFORTRAN_CONVERT_UNIT
        environment variable.
        (top level):  Add defines, type and static variables for
        GFORTRAN_CONVERT_UNIT handling.
        (search_unit):  New function.
        (match_word): New function.
        (match_integer): New function.
        (next_token): New function.
        (push_token): New function.
        (mark_single): New function.
        (mark_range): New funciton.
        (do_parse): New function.
        (init_unformatted): New function.
        (get_unformatted_convert): New function.
        * runtime/compile_options.c:  Add set_convert().
        * libgfortran.h:  Add convert to compile_options_t.
        * io/open.c (st_open): Call get_unformatted_convert to get
        unit default; if CONVERT_NONE is returned, check for
        the presence of a CONVERT specifier and use it.
        As default, use compile_options.convert.
        * io/io.h (top level): Add CONVERT_NONE to unit_convert, to signal
        "nothing has been set".
        (top level): Add prototype for get_unformatted_convert.

2005-02-06  Thomas Koenig  <Thomas.Koenig@online.de>

        PR libfortran/23815
        * unf_io_convert_4.f90:  New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/unf_io_convert_4.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/gfortran.texi
    trunk/gcc/fortran/invoke.texi
    trunk/gcc/fortran/lang.opt
    trunk/gcc/fortran/options.c
    trunk/gcc/fortran/trans-decl.c
    trunk/gcc/testsuite/ChangeLog
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/io/io.h
    trunk/libgfortran/io/open.c
    trunk/libgfortran/libgfortran.h
    trunk/libgfortran/runtime/compile_options.c
    trunk/libgfortran/runtime/environ.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23815


  parent reply	other threads:[~2006-02-06 20:12 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-23815-7128@http.gcc.gnu.org/bugzilla/>
2005-10-11 13:25 ` tobi at gcc dot gnu dot org
2005-10-11 18:40 ` tkoenig at gcc dot gnu dot org
2005-10-11 19:01 ` Tobias dot Schlueter at physik dot uni-muenchen dot de
2005-10-11 19:20 ` rrr6399 at futuretek dot com
2005-10-11 19:37 ` tkoenig at gcc dot gnu dot org
2005-11-02 17:16 ` pinskia at gcc dot gnu dot org
2005-11-02 18:17 ` rrr6399 at futuretek dot com
2005-11-02 21:20 ` tkoenig at gcc dot gnu dot org
2005-11-05 22:21 ` tkoenig at gcc dot gnu dot org
2005-11-10 22:39 ` tkoenig at gcc dot gnu dot org
2005-11-10 22:53 ` tkoenig at gcc dot gnu dot org
2005-11-11  4:52 ` kargl at gcc dot gnu dot org
2005-11-11 13:26 ` rrr6399 at futuretek dot com
2005-11-11 23:53 ` tkoenig at gcc dot gnu dot org
2005-11-12  0:02 ` tkoenig at gcc dot gnu dot org
2005-11-18 21:17 ` tkoenig at gcc dot gnu dot org
2005-11-27 22:15 ` tkoenig at gcc dot gnu dot org
2005-11-27 22:27 ` tkoenig at gcc dot gnu dot org
2005-11-27 22:42 ` sgk at troutmask dot apl dot washington dot edu
2005-12-06 21:45 ` tkoenig at gcc dot gnu dot org
2005-12-10 13:09 ` tkoenig at gcc dot gnu dot org
2005-12-10 20:02 ` tkoenig at gcc dot gnu dot org
2005-12-10 20:12 ` tkoenig at gcc dot gnu dot org
2005-12-13 21:11 ` tkoenig at gcc dot gnu dot org
2006-01-09 22:53 ` tkoenig at gcc dot gnu dot org
2006-01-15 21:07 ` tkoenig at gcc dot gnu dot org
2006-01-27 20:40 ` tkoenig at gcc dot gnu dot org
2006-02-06 20:12 ` tkoenig at gcc dot gnu dot org [this message]
2006-02-08 20:14 ` tkoenig at gcc dot gnu dot org
2006-02-08 20:15 ` tkoenig at gcc dot gnu dot org
2006-02-09 15:12 ` tobi at gcc dot gnu dot org
2006-02-09 20:03 ` tkoenig at gcc dot gnu dot org
2005-09-11  5:14 [Bug fortran/23815] New: " rrr6399 at futuretek dot com
2005-09-12 14:29 ` [Bug fortran/23815] " pinskia at gcc dot gnu dot org
2005-09-12 19:22 ` falk at debian dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060206201249.6685.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).