public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/17068] New: ICE: tree check: expected class 'd', have 'x' (identifier_node) in dependent_template_p, at cp/pt.c:12043
@ 2004-08-17 19:28 v dot haisman at sh dot cvut dot cz
  2004-08-17 19:55 ` [Bug c++/17068] [3.4/3.5 regression] " reichelt at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: v dot haisman at sh dot cvut dot cz @ 2004-08-17 19:28 UTC (permalink / raw)
  To: gcc-bugs

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 <class T>
  void operator()(T a, T b)
  { }
};

template<class T2>
struct OtherThing
{
  void do_something()
  {
    Thing thing_;
    thing_.template operator()<T2>(1, 2);
  }
};

wilx@logout:::~/tmp> g++ -c libsigc++-test.cxx
libsigc++-test.cxx: In member function `void OtherThing<T2>::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 <URL:http://gcc.gnu.org/bugs.html> 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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2004-08-18 18:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-17 19:28 [Bug c++/17068] New: ICE: tree check: expected class 'd', have 'x' (identifier_node) in dependent_template_p, at cp/pt.c:12043 v dot haisman at sh dot cvut dot cz
2004-08-17 19:55 ` [Bug c++/17068] [3.4/3.5 regression] " reichelt at gcc dot gnu dot org
2004-08-17 20:15 ` bangerth at dealii dot org
2004-08-17 20:23 ` pinskia at gcc dot gnu dot org
2004-08-17 21:11 ` reichelt at gcc dot gnu dot org
2004-08-17 21:44 ` bangerth at dealii dot org
2004-08-18  3:28 ` mmitchel at gcc dot gnu dot org
2004-08-18 18:25 ` cvs-commit at gcc dot gnu dot org
2004-08-18 18:34 ` cvs-commit at gcc dot gnu dot org
2004-08-18 18:34 ` mmitchel at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).