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

Janus Weil janus@gcc.gnu.org
Wed Nov 9 11:27:00 GMT 2011


>> 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.)

Oh yeah, good point. Will do.

Cheers,
Janus



More information about the Fortran mailing list