[Bug c++/13538] ICE specializing partially specialized function template in class template

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jan 1 05:18:00 GMT 2004


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



More information about the Gcc-bugs mailing list