This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24560] [3.4/4.0/4.1 Regression] "insufficient contextual information to determine type" is not a helpful error message
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Nov 2005 23:36:09 -0000
- Subject: [Bug c++/24560] [3.4/4.0/4.1 Regression] "insufficient contextual information to determine type" is not a helpful error message
- References: <bug-24560-7904@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from mmitchel at gcc dot gnu dot org 2005-11-02 23:36 -------
Subject: Bug 24560
Author: mmitchel
Date: Wed Nov 2 23:36:05 2005
New Revision: 106408
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106408
Log:
PR c++/24560
* parser.c (cp_parser_postfix_dot_deref_expression): Improve error
message for use of overloaded functions on LHS of "." operator.
PR c++/24560
* g++.dg/parse/dot1.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/parse/dot1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24560