[Bug c++/39444] ICE caused by default template argument
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Apr 16 20:50:00 GMT 2009
------- 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
More information about the Gcc-bugs
mailing list