------- Comment #12 from reichelt at gcc dot gnu dot org 2006-01-19 10:06 ------- This is fixed now in gcc 4.0.3. I'll wait a couple of days until I'll apply the patch to the 3.4 branch, too.
Btw, the following testcase is a regression from 3.3.x: ================================ struct A { void foo(int = 0, int); }; ================================ -- reichelt at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- GCC host triplet|i386-pc-linux-gnu/3.3.3 | Keywords| |ice-on-invalid-code Summary|default parameter can be not|[3.4 regression] default |one of the last in template|parameter can be not one of |function |the last in function Target Milestone|--- |3.4.6 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16829