This is the mail archive of the gcc-bugs@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]

[Bug c++/48489] Invalid error message 'has no member named' when referring directly to the base class


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

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-10-17 09:48:06 UTC ---
Author: paolo
Date: Mon Oct 17 09:48:02 2011
New Revision: 180080

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180080
Log:
/cp
2011-10-17  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/48489
    * typeck.c (finish_class_member_access_expr): Fix error call
    for TREE_CODE (access_path) == TREE_BINFO.

/testsuite
2011-10-17  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/48489
    * g++.dg/inherit/error5.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/inherit/error5.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck.c
    trunk/gcc/testsuite/ChangeLog


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