http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59031

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Sat Nov 23 21:01:46 2013
New Revision: 205317

URL: http://gcc.gnu.org/viewcvs?rev=205317&root=gcc&view=rev
Log:
    PR c++/59031
    * call.c (build_new_method_call_1): Comnpare function context
    with BASELINK_BINFO type rather than instance type before
    marking the call with LOOKUP_NONVIRTUAL.

Added:
    trunk/gcc/testsuite/g++.dg/inherit/virtual11.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/cp/cp-tree.h

Reply via email to