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++/32252] [4.3 regression] ICE with variadic templates and arrays



------- Comment #5 from dgregor at gcc dot gnu dot org  2007-10-30 13:37 -------
Subject: Bug 32252

Author: dgregor
Date: Tue Oct 30 13:36:34 2007
New Revision: 129773

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129773
Log:
2007-10-30  Douglas Gregor  <doug.gregor@gmail.com>

        PR c++/31993
        PR c++/32252
        * pt.c (find_parameter_packs_r): Fix typo in comment.
        (convert_template_argument): Look at the pattern of a pack
        expansion to determine what kind of entity we're converting.
        (coerce_template_parameter_pack): When we have coerced a non-type
        template parameter pack, substitute into the type of that pack.
        (tsubst_pack_expansion): When our substitution of a parameter pack
        is a "trivial" substitution of itself, just substitute into the
        pack expansion rather than actually expanding.

2007-10-30  Douglas Gregor  <doug.gregor@gmail.com>

        PR c++/31993
        PR c++/32252
        * g++.dg/cpp0x/pr31993.C: New
        * g++.dg/cpp0x/pr32252.C: New

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/pr31993.C
    trunk/gcc/testsuite/g++.dg/cpp0x/pr32252.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/parse/crash36.C


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32252


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