This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/68396] function auto-deduced return types get incorrectly classified as parameter packs
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 19 Nov 2015 18:26:10 +0000
- Subject: [Bug c++/68396] function auto-deduced return types get incorrectly classified as parameter packs
- Auto-submitted: auto-generated
- References: <bug-68396-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68396
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Nov 19 18:25:38 2015
New Revision: 230620
URL: https://gcc.gnu.org/viewcvs?rev=230620&root=gcc&view=rev
Log:
PR c++/68396
2015-11-19 Ryan Burn <contact@rnburn.com>
* pt.c (find_parameter_packs_r) [DECLTYPE_TYPE]: When traversing
the DECLTYPE_TYPE_EXPR, set type_pack_expansion_p to false.
Added:
trunk/gcc/testsuite/g++.dg/cpp1y/pr68396.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c