re PR c++/31434 (ICE with invalid use of parameter pack in function arg)

PR c++/31434
	* tree.c (cp_build_qualified_type_real): Handle TYPE_PACK_EXPANSION
	qualification by creating qualified PACK_EXPANSION_PATTERN and
	then calling make_pack_expansion on it.

From-SVN: r128867
This commit is contained in:
Jakub Jelinek 2007-09-28 18:17:58 +02:00
parent 31d400080b
commit 80d860132a
2 changed files with 7 additions and 7 deletions

View File

@ -8,13 +8,6 @@
* config/mips/mips.c (override_options): Fix comment typo.
2007-09-28 Jakub Jelinek <jakub@redhat.com>
PR c++/31434
* tree.c (cp_build_qualified_type_real): Handle TYPE_PACK_EXPANSION
qualification by creating qualified PACK_EXPANSION_PATTERN and
then calling make_pack_expansion on it.
2007-09-28 Jie Zhang <jie.zhang@analog.com>
* config.gcc (bfin*-linux-uclibc*): Set extra_parts

View File

@ -5,6 +5,13 @@
(dump_type): Use dump_template_argument for TYPE_ARGUMENT_PACK.
(dump_parameters): Just call dump_type for argument packs too.
2007-09-28 Jakub Jelinek <jakub@redhat.com>
PR c++/31434
* tree.c (cp_build_qualified_type_real): Handle TYPE_PACK_EXPANSION
qualification by creating qualified PACK_EXPANSION_PATTERN and
then calling make_pack_expansion on it.
2007-09-27 Ollie Wild <aaw@google.com>
* typeck2.c (digest_init): Call cplus_expand_constant after