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++/13538] ICE specializing partially specialized function template in class template


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-01 05:18 -------
Confirmed but not a regression as it ICEs from 2.91.6 all the way to 3.4, the mainline.
Here is the comment around where GCC iCEs:
  /* There should be as many levels of arguments as there are
     levels of parameters.  */
  my_friendly_assert (TMPL_ARGS_DEPTH (args)
                      == TMPL_PARMS_DEPTH (DECL_TEMPLATE_PARMS (tmpl)),
                      0);

ICC 6.0 also accepts the code.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
           Priority|P1                          |P2
   Last reconfirmed|0000-00-00 00:00:00         |2004-01-01 05:18:57
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13538


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