re PR c++/35243 (ICE with invalid initializer list in variadic template)
authorPaolo Carlini <paolo.carlini@oracle.com>
Thu, 29 May 2008 16:44:29 +0000 (16:44 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 29 May 2008 16:44:29 +0000 (16:44 +0000)
commitaecaad790a1111a2ad87aa03ed385981dbab7564
tree44b5de1801b1c07d88a2f326d5b07cab892f7159
parentf2f5443c88b88d4937be5ff32950f4eb17e045d6
re PR c++/35243 (ICE with invalid initializer list in variadic template)

/cp
2008-05-29  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/35243
        * pt.c (tsubst_initializer_list): Consistently check the tree
        returned by tsubst_pack_expansion for error_mark_node.

/testsuite
2008-05-29  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/35243
        * g++.dg/cpp0x/vt-35243.C: New.

From-SVN: r136174
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/vt-35243.C [new file with mode: 0644]