This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/32029] [4.1/4.2/4.3 regression] ICE on instantiation of template parameter



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]