------- Comment #6 from reichelt at gcc dot gnu dot org 2007-05-27 21:16 ------- Not really fixed. The fix from comment #3 is incomplete as the following testcase still ICEs:
================================= template<int> struct A {}; void foo() { A<({})> a; } ================================= bug.cc: In function 'void foo()': bug.cc:5: internal compiler error: in uses_template_parms, at cp/pt.c:5924 Please submit a full bug report, [etc.] Btw. this testcase is even worse as the original one, because there's no error message before the ICE. -- reichelt at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|error-recovery | Priority|P4 |P3 Summary|[4.0/4.1/4.2 regression] ICE|[4.0/4.1/4.2/4.3 regression] |with statement expression as|ICE with statement |template parameter |expression as template | |parameter http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29731