This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, Fortran, OOP] PR 50960: vtables not marked as constant
- From: Janus Weil <janus at gcc dot gnu dot org>
- To: Tobias Burnus <tobias dot burnus at physik dot fu-berlin dot de>
- Cc: fortran at gcc dot gnu dot org, patches at gcc dot gnu dot org
- Date: Wed, 9 Nov 2011 12:27:17 +0100
- Subject: Re: [Patch, Fortran, OOP] PR 50960: vtables not marked as constant
- References: <20111109102548.GB10959@physik.fu-berlin.de>
>> 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