From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25949 invoked by alias); 17 Aug 2004 19:28:51 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 25941 invoked by uid 48); 17 Aug 2004 19:28:50 -0000 Date: Tue, 17 Aug 2004 19:28:00 -0000 From: "v dot haisman at sh dot cvut dot cz" To: gcc-bugs@gcc.gnu.org Message-ID: <20040817192847.17068.v.haisman@sh.cvut.cz> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/17068] New: ICE: tree check: expected class 'd', have 'x' (identifier_node) in dependent_template_p, at cp/pt.c:12043 X-Bugzilla-Reason: CC X-SW-Source: 2004-08/txt/msg01705.txt.bz2 List-Id: Compiling the following testcase GCC ICEs with the error bellow. The test case is derived from one configure test of libsigc++2.x. struct Thing { template void operator()(T a, T b) { } }; template struct OtherThing { void do_something() { Thing thing_; thing_.template operator()(1, 2); } }; wilx@logout:::~/tmp> g++ -c libsigc++-test.cxx libsigc++-test.cxx: In member function `void OtherThing::do_something()': libsigc++-test.cxx:14: internal compiler error: tree check: expected class 'd', have 'x' (identifier_node) in dependent_template_p, at cp/pt.c:12043 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. -- Summary: ICE: tree check: expected class 'd', have 'x' (identifier_node) in dependent_template_p, at cp/pt.c:12043 Product: gcc Version: 3.5.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: v dot haisman at sh dot cvut dot cz CC: gcc-bugs at gcc dot gnu dot org,v dot haisman at sh dot cvut dot cz GCC build triplet: i386-unknown-freebsd4.10 GCC host triplet: i386-unknown-freebsd4.10 GCC target triplet: i386-unknown-freebsd4.10 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17068