[Bug c++/24560] [3.4/4.0/4.1 Regression] "insufficient contextual information to determine type" is not a helpful error message

mmitchel at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Nov 2 23:37:00 GMT 2005



------- Comment #4 from mmitchel at gcc dot gnu dot org  2005-11-02 23:37 -------
Subject: Bug 24560

Author: mmitchel
Date: Wed Nov  2 23:36:57 2005
New Revision: 106409

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106409
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:
    branches/gcc-4_0-branch/gcc/testsuite/g++.dg/parse/dot1.C
Modified:
    branches/gcc-4_0-branch/gcc/cp/ChangeLog
    branches/gcc-4_0-branch/gcc/cp/parser.c
    branches/gcc-4_0-branch/gcc/testsuite/ChangeLog


-- 


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



More information about the Gcc-bugs mailing list