This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/35022] [4.3/4.4 regression] ICE with parameter pack in template constant parameter
- From: "chris dot fairles at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Jun 2008 19:34:07 -0000
- Subject: [Bug c++/35022] [4.3/4.4 regression] ICE with parameter pack in template constant parameter
- References: <bug-35022-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from chris dot fairles at gmail dot com 2008-06-16 19:34 -------
I think this is related:
template <typename T, T...> struct A{};
template <template <typename T, T...> class B> struct C{};
int main() { C<A> a; }
gives ICE @ pt.c:15861 (rev 136843).
The line in question is:
gcc_assert (TREE_CODE (type) != TEMPLATE_TYPE_PARM);
in
bool dependant_type_p (tree type);
--
chris dot fairles at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |chris dot fairles at gmail
| |dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35022