Re: [Patch, libfortran] RFC: Shared vtables, constification

2012-03-15 Thread Janne Blomqvist
PING! (At this point, obviously for trunk only) On Mon, Feb 13, 2012 at 20:20, Janne Blomqvist blomqvist.ja...@gmail.com wrote: Hi, the attached patch changes the low-level libgfortran IO dispatching mechanism to use shared vtables for each stream type, instead of all the function pointers

Re: [Patch, libfortran] RFC: Shared vtables, constification

2012-03-15 Thread Jerry DeLisle
On 03/15/2012 11:42 AM, Janne Blomqvist wrote: PING! (At this point, obviously for trunk only) Yes, OK for trunk. On Mon, Feb 13, 2012 at 20:20, Janne Blomqvist blomqvist.ja...@gmail.com wrote: Hi, the attached patch changes the low-level libgfortran IO dispatching mechanism to use

Re: [Patch, libfortran] RFC: Shared vtables, constification

2012-02-17 Thread Janne Blomqvist
On Mon, Feb 13, 2012 at 23:04, Steven Bosscher stevenb@gmail.com wrote: On Mon, Feb 13, 2012 at 7:20 PM, Janne Blomqvist blomqvist.ja...@gmail.com wrote: Hi, the attached patch changes the low-level libgfortran IO dispatching mechanism to use shared vtables for each stream type, instead

Re: [Patch, libfortran] RFC: Shared vtables, constification

2012-02-17 Thread Steven Bosscher
On Fri, Feb 17, 2012 at 12:44 PM, Janne Blomqvist blomqvist.ja...@gmail.com wrote: On Mon, Feb 13, 2012 at 23:04, Steven Bosscher stevenb@gmail.com wrote: On Mon, Feb 13, 2012 at 7:20 PM, Janne Blomqvist blomqvist.ja...@gmail.com wrote: Hi, the attached patch changes the low-level

[Patch, libfortran] RFC: Shared vtables, constification

2012-02-13 Thread Janne Blomqvist
Hi, the attached patch changes the low-level libgfortran IO dispatching mechanism to use shared vtables for each stream type, instead of all the function pointers being replicated for each unit. This is similar to e.g. how the C++ frontend implements vtables. The benefits are: - Slightly smaller

Re: [Patch, libfortran] RFC: Shared vtables, constification

2012-02-13 Thread Steven Bosscher
On Mon, Feb 13, 2012 at 7:20 PM, Janne Blomqvist blomqvist.ja...@gmail.com wrote: Hi, the attached patch changes the low-level libgfortran IO dispatching mechanism to use shared vtables for each stream type, instead of all the function pointers being replicated for each unit. This is similar