------- Comment #5 from pinskia at gcc dot gnu dot org 2009-04-16 20:50 ------- The trunk gives: t.cc:18: error: a cast to a type other than an integral or enumeration type cannot appear in a constant-expression t.cc:18: error: template argument 2 is invalid t.cc:18: error: invalid type in declaration before ; token
So does 4.4.0 So closing as fixed for 4.4.0 -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Keywords| |ice-on-invalid-code Resolution| |FIXED Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39444