The diagnostic fo the following invalid code snippet is broken since GCC 3.0. GCC 2.95.x even crashed. ===================================== template<int> struct A {}; A<0i> a; ===================================== bug.cc:3: error: could not convert template argument '#'complex_cst' not supported by dump_expr#<expression error>' to 'int' bug.cc:3: error: invalid type in declaration before ';' token
Confirmed.
Working on it.
Fixed by: http://gcc.gnu.org/ml/gcc-patches/2007-08/msg01906.html
Fixed, indeed.