-
- Downloads
re PR c++/34314 (ICE on invalid code (with variadic templates): tree check:...
re PR c++/34314 (ICE on invalid code (with variadic templates): tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in template_class_depth) 2008-01-15 Douglas Gregor <doug.gregor@gmail.com> PR c++/34314 * error.c (dump_simple_decl): Display ellipsis for template non-type parameter packs. (dump_decl): Display ellipsis for template type parameter packs. (dump_template_decl): Display ellipsis for template template parameter packs. * pt.c (redeclare_class_template): When redeclaring a class template, check for collisions between template parameters and template parameter packs. 2008-01-15 Douglas Gregor <doug.gregor@gmail.com> PR c++/34314 * g++.dg/cpp0x/vt-34314.C: New. * g++.dg/cpp0x/variadic79.C: Fix the error message to reflect reality (the error message was wrong previously). From-SVN: r131546
Showing
- gcc/cp/ChangeLog 12 additions, 0 deletionsgcc/cp/ChangeLog
- gcc/cp/error.c 20 additions, 4 deletionsgcc/cp/error.c
- gcc/cp/pt.c 9 additions, 3 deletionsgcc/cp/pt.c
- gcc/testsuite/g++.dg/cpp0x/variadic79.C 1 addition, 1 deletiongcc/testsuite/g++.dg/cpp0x/variadic79.C
- gcc/testsuite/g++.dg/cpp0x/vt-34314.C 50 additions, 0 deletionsgcc/testsuite/g++.dg/cpp0x/vt-34314.C
Loading
Please register or sign in to comment