This is the mail archive of the gcc-patches@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]

Re: [PATCH] Fix C++ PR's 31138, 31140, 31141


Doug Gregor wrote:

> :ADDPATCH c++:
> 
> 2007-03-12  Douglas Gregor  <doug.gregor@gmail.com>
> 
>     PR c++/31138
>     PR c++/31140
>     PR c++/31141
>     * parser.c (declarator_can_be_parameter_pack): New.
>     (cp_parser_template_parameter): Only parse the `...' if the
>     declarator can be a parameter pack.
>     (cp_parser_parameter_declaration): Ditto. Also, handle when TYPE
>     is NULL.
>     * pt.c (find_parameter_packs_r): Look into the bounds on integer
>     types (they could be used as array bounds).
>        (check_for_bare_parameter_packs): Deal with TEMPLATE_PARM_INDEX.
>     (tsubst_pack_expansion): Handle failure to expand parameter
>     packs.
> 
> 2007-03-12  Douglas Gregor  <doug.gregor@gmail.com>
> 
>     * g++.dg/parser/pr31138.C: New.
>     * g++.dg/parser/pr31140.C: New.
>     * g++.dg/parser/pr31141.C: New.

:REVIEWMAIL: OK

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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