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++/51429] [4.7 Regression] ICE with invalid use of overloaded member function


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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-07 20:46:41 UTC ---
Author: jakub
Date: Wed Dec  7 20:46:38 2011
New Revision: 182089

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182089
Log:
    PR c++/51429
    * typeck2.c (cxx_incomplete_type_diagnostic): Don't
    ICE if TREE_OPERAND (value, 1) is overloaded.

    * g++.dg/parse/error45.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/parse/error45.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck2.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]