This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, 4.5] Make fwprop find out that non-virtual constant member pointers are non-virtual


On Wed, Mar 11, 2009 at 4:42 PM, Paolo Bonzini <bonzini@gnu.org> wrote:
> I wonder if, in the light of this lowering of member pointers, this
> comment from you in PR35705 still holds:
>
>> So a new target hook is overkill IMHO.

Well, in the particular case of C++ virtual dispatch I would expect the frontend
to emit slightly different code for architectures with function
descriptors (otherwise
bit 0 could not be re-used as a flag reliably).  Thus we're back to
square one here
and probably should think about a more high-level representation of virtual
dispatching ...

Richard.

> (see comments #11 and #12).
>
> Martin, you could try reverting r133804 and see if it helps this testcase.
>
> Paolo
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]