[Bug fortran/25708] Module loading is not good at all

jb at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Dec 1 14:13:00 GMT 2011


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

--- Comment #19 from Janne Blomqvist <jb at gcc dot gnu.org> 2011-12-01 14:12:45 UTC ---
Author: jb
Date: Thu Dec  1 14:12:37 2011
New Revision: 181879

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181879
Log:
PR 25708 Avoid seeking when parsing strings and when peeking.

2011-12-01  Janne Blomqvist  <jb@gcc.gnu.org>

    PR fortran/25708
    * module.c (parse_string): Read string into resizable array
    instead of parsing twice and seeking.
    (peek_atom): New implementation avoiding seeks.
    (require_atom): Save and set column and line explicitly for error
    handling.


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



More information about the Gcc-bugs mailing list