r197124 - in /trunk/gcc/fortran: ChangeLog modu...

jb@gcc.gnu.org jb@gcc.gnu.org
Tue Mar 26 22:08:00 GMT 2013


Author: jb
Date: Tue Mar 26 22:08:17 2013
New Revision: 197124

URL: http://gcc.gnu.org/viewcvs?rev=197124&root=gcc&view=rev
Log:
PR 25708 Use a temporary buffer when parsing module files.

2013-03-27  Janne Blomqvist  <jb@gcc.gnu.org>

	PR fortran/25708
        * module.c (module_locus): Use long for position.
        (module_content): New variable.
        (module_pos): Likewise.
        (prev_character): Remove.
        (bad_module): Free data instead of closing mod file.
        (set_module_locus): Use module_pos.
        (get_module_locus): Likewise.
        (module_char): use buffer rather than stdio file.
        (module_unget_char): Likewise.
        (read_module_to_tmpbuf): New function.
        (gfc_use_module): Call read_module_to_tmpbuf.

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/module.c



More information about the Gcc-cvs mailing list