[Bug c++/56329] Segmentation fault on simple invalid code with variadic template specialisation
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 14 21:08:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56329
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
Known to fail| |4.7.3
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-02-14 21:08:19 UTC ---
Trunk gives an error not an ICE:
t.cc:5:8: error: partial specialization is not more specialized than the
primary template because it replaces multiple parameters with a pack expansion
struct MyClass<args...> {};
^
t.cc:2:8: note: primary template here
struct MyClass;
^
I think this is a dup of PR 52008
*** This bug has been marked as a duplicate of bug 52008 ***
More information about the Gcc-bugs
mailing list