re PR c++/17068 (ICE: tree check: expected class 'd', have 'x' (identifier_node)...
authorMark Mitchell <mark@codesourcery.com>
Wed, 18 Aug 2004 18:25:10 +0000 (18:25 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 18 Aug 2004 18:25:10 +0000 (18:25 +0000)
commitacccf7887ed18571bdd816a15e6ba6bc84670f04
treeea13e35480477ff808d2caeb045929a4cc7ab6f8
parent50dc9a88c1edf862816c804f8ea93443d257180c
re PR c++/17068 (ICE: tree check: expected class 'd', have 'x' (identifier_node) in dependent_template_p, at cp/pt.c:12043)

PR c++/17068
* pt.c (dependent_template_p): Treat IDENTIFIER_NODEs as
dependent.

PR c++/17068
* g++.dg/template/operator4.C: New test.

From-SVN: r86199
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/operator4.C [new file with mode: 0644]