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++/68396] function auto-deduced return types get incorrectly classified as parameter packs


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

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