re PR c++/35331 (ICE with invalid specialization of variadic template)
authorPaolo Carlini <paolo.carlini@oracle.com>
Mon, 12 May 2008 15:18:52 +0000 (15:18 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 12 May 2008 15:18:52 +0000 (15:18 +0000)
commit7d2f0ecd61495161034a7c24de59af5025b298e2
tree4b40fbfe07ab629be51dc2833745c4465165be87
parent751d1520c31199d7a67e8c3caaed4e4af90fcb75
re PR c++/35331 (ICE with invalid specialization of variadic template)

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

        PR c++/35331
        * semantics.c (begin_class_definition): Extend checks on the first
argument.

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

        PR c++/35331
        * g++.dg/cpp0x/vt-35331.C: New.
* g++.dg/cpp0x/pr32125.C: Adjust.
* g++.dg/cpp0x/pr32126.C: Likewise.
* g++.dg/cpp0x/pr31438.C: Likewise.
* g++.dg/cpp0x/variadic81.C: Likewise.
* g++.dg/cpp0x/vt-34055.C: Likewise.
* g++.dg/cpp0x/vt-34606.C: Likewise.

From-SVN: r135216
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr31438.C
gcc/testsuite/g++.dg/cpp0x/pr32125.C
gcc/testsuite/g++.dg/cpp0x/pr32126.C
gcc/testsuite/g++.dg/cpp0x/variadic81.C
gcc/testsuite/g++.dg/cpp0x/vt-34055.C
gcc/testsuite/g++.dg/cpp0x/vt-34606.C
gcc/testsuite/g++.dg/cpp0x/vt-35331.C [new file with mode: 0644]