[Patch, Fortran, OOP] PR 50960: vtables not marked as constant

Tobias Burnus tobias.burnus@physik.fu-berlin.de
Wed Nov 9 10:26:00 GMT 2011


On 11/09/2011 10:48 AM, Janus Weil wrote:
>> Alright, since no one seems to have any strong preference, I'll just
>> go ahead and commit my version of the patch (as approved by Paul).
> Committed as r181199. Thanks for the comments, everyone!

Thanks for the patch, but could you also add a test case? With the
patch, one gets the following optimized dump:
  base ();
while without the patch (or in the original dump) one has:
      x._vptr->bar ();
(That's for the test case to the PR, see PR 50959 comment 0.)

Tobias



More information about the Fortran mailing list