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++/35022] [4.3/4.4 regression] ICE with parameter pack in template constant parameter



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


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