This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/32029] [4.1/4.2/4.3 regression] ICE on instantiation of template parameter
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Dec 2007 20:58:10 -0000
- Subject: [Bug c++/32029] [4.1/4.2/4.3 regression] ICE on instantiation of template parameter
- References: <bug-32029-14583@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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