On Mon, Nov 28, 2011 at 22:29, Thomas Koenig <tkoe...@netcologne.de> wrote: > Hello world, > > the testing of the test patch I submitted earlier (Thanks Salvatore and > Joost!) has shown a performance increase, so here is a formal > submission. No test case because this patch is not supposed to > change anything, just make module reading a bit more efficient. > > Regression-tested on x86_64-unknown-linux-gnu. OK for trunk? > > Thomas > > 2011-11-28 Thomas Koenig <tkoe...@gcc.gnu.org> > > PR fortran/40958 > * module.c (prev_module_line): New variable. > (prev_module_column): New variable. > (prev_character): New variable. > (module_char): Update the new variables. > (module_unget_char): New function. > (parse_string): Use module_unget_char. > (parse_integer): Likewise. > (parse_name): Likewise.
Nice! Ok for trunk. -- Janne Blomqvist