[Bug c++/32029] [4.1/4.2/4.3 regression] ICE on instantiation of template parameter
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Dec 26 20:58:00 GMT 2007
------- Comment #4 from reichelt at gcc dot gnu dot org 2007-12-26 20:58 -------
Confirmed.
The correct syntax for the default parameter is the one that works:
typename Factory0Arg<T>::template Factory<T>
I get an ICE since GCC 3.4.0.
Before, the code was wrongly accepted.
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |ice-on-invalid-code,
| |monitored
Last reconfirmed|0000-00-00 00:00:00 |2007-12-26 20:58:09
date| |
Summary|Internal Compiler Error on |[4.1/4.2/4.3 regression] ICE
|instantiation of template |on instantiation of template
|parameter |parameter
Target Milestone|--- |4.1.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32029
More information about the Gcc-bugs
mailing list