[Patch, fortran] Use getc/putc instead of fgetc/fputc
Tobias Schlüter
Tobias.Schlueter@physik.uni-muenchen.de
Wed Apr 25 12:00:00 GMT 2007
Janne Blomqvist wrote:
> 2007-04-25 Janne Blomqvist <jb@gcc.gnu.org>
>
> * module.c (module_char): Replace fgetc() with
> getc().
> (write_char): Replace fputc() with putc().
> * scanner.c (load_line): Replace fgetc() with getc().
> (gfc_read_orig_filename): Likewise.
Ok, bordering on obvious. Loading modules over and over again is of
course a more serious problem than the function call overhead this patch
eliminates.
Cheers,
- Tobi
More information about the Gcc-patches
mailing list