public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "dgregor at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/31138] [4.3 regression] ICE with ellipsis Date: Sat, 31 Mar 2007 12:42:00 -0000 [thread overview] Message-ID: <20070331124158.1531.qmail@sourceware.org> (raw) In-Reply-To: <bug-31138-1771@http.gcc.gnu.org/bugzilla/> ------- Comment #6 from dgregor at gcc dot gnu dot org 2007-03-31 13:41 ------- Subject: Bug 31138 Author: dgregor Date: Sat Mar 31 13:41:30 2007 New Revision: 123380 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123380 Log: 2007-03-31 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-31 Douglas Gregor <doug.gregor@gmail.com> * g++.dg/parser/pr31138.C: New. * g++.dg/parser/pr31140.C: New. * g++.dg/parser/pr31141.C: New. Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/parser.c trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31138
next prev parent reply other threads:[~2007-03-31 12:42 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-03-11 22:09 [Bug c++/31138] New: " reichelt at gcc dot gnu dot org 2007-03-11 22:09 ` [Bug c++/31138] " reichelt at gcc dot gnu dot org 2007-03-11 23:01 ` reichelt at gcc dot gnu dot org 2007-03-11 23:19 ` pinskia at gcc dot gnu dot org 2007-03-11 23:51 ` schwab at suse dot de 2007-03-27 14:12 ` doug dot gregor at gmail dot com 2007-03-27 14:18 ` tbm at gcc dot gnu dot org 2007-03-28 14:31 ` dgregor at gcc dot gnu dot org 2007-03-31 12:42 ` dgregor at gcc dot gnu dot org [this message] 2007-03-31 12:44 ` dgregor at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20070331124158.1531.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).