Re: [Patch, fortran, RFC] PR 40958 Reduce size of module files

2011-11-29 Thread Thomas Koenig
Hi Janne, Regression-tested on x86_64-unknown-linux-gnu. OK for trunk? Nice! Ok for trunk. Sende ChangeLog Sende module.c Übertrage Daten .. Revision 181810 übertragen. Thanks for the review! Thomas

Re: [Patch, fortran, RFC] PR 40958 Reduce size of module files

2011-11-28 Thread Janne Blomqvist
On Mon, Nov 28, 2011 at 22:29, Thomas Koenig 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 m

Re: [Patch, fortran, RFC] PR 40958 Reduce size of module files

2011-11-28 Thread Thomas Koenig
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

Re: [Patch, fortran, RFC] PR 40958 Reduce size of module files

2011-11-25 Thread Mikael Morin
On Friday 25 November 2011 11:10:01 Janne Blomqvist wrote: > Based on a brief inspection of the code, most if > not all of these seeks are for a very short distance (typically peek a > few bytes ahead in the stream, then seek back) I'm afraid they aren't. The moves are as follows (-: sequential, x:

[Patch, fortran, RFC] PR 40958 Reduce size of module files

2011-11-25 Thread Janne Blomqvist
Hi, gfortran has a few long-standing bugs wrt module handling. The more fundamental, and also more difficult to fix, issue is that we re-read and re-parse module files every time a USE statement is encountered, instead of once per translation unit. See PR 25708. Another issue, PR 40958, is that mo