[Bug c++/61341] ICE for variadic templates: tsubst at cp/pt.c:11313, tree check: expected class ‘expression’, have ‘type’ (integer_type)

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jul 9 20:54:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61341

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
                 CC|                            |msebor at gcc dot gnu.org
      Known to fail|                            |4.3.0

--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
The ICE looks as old as variadic template argument support itself.  The first
revision that fails with it is r122788 committed in the GCC 4.3.0 time frame:

r122788 | dgregor | 2007-03-09 20:58:58 -0500 (Fri, 09 Mar 2007) | 214 lines

2007-03-09  Douglas Gregor  <doug.gregor@gmail.com>

        PR c++/20599


More information about the Gcc-bugs mailing list