[forwarded from http://bugs.debian.org/284777]
seen with 3.4 branch 20041215 and CVS HEAD, works with 3.3 CVS branch $ g++-3.4 bug-284777.cc bug-284777.cc: In member function `void Dummy<T>::tester()': bug-284777.cc:13: internal compiler error: in uses_template_parms, at cp/pt.c:4860 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. template<typename T> struct Dummy { void evil() { this->template tester<true>(); } template<bool B> void tester() { // evil should actually be a bool bar<evil>()(); } template<bool B> struct bar { void operator()() { } }; }; int main() {} -- Summary: [3.4 / 4.0 regression] ICE in uses_template_parms at cp/pt.c:4860 Product: gcc Version: 3.4.4 Status: UNCONFIRMED Severity: critical Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: debian-gcc at lists dot debian dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19004