This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/48489] Invalid error message 'has no member named' when referring directly to the base class
- From: "paolo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 17 Oct 2011 09:48:06 +0000
- Subject: [Bug c++/48489] Invalid error message 'has no member named' when referring directly to the base class
- Auto-submitted: auto-generated
- References: <bug-48489-4@http.gcc.gnu.org/bugzilla/>
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