[Bug c++/81060] [8 Regression] ICE with un-expanded parameter pack

2018-06-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81060

--- Comment #4 from Jason Merrill  ---
Author: jason
Date: Tue Jun 19 00:38:26 2018
New Revision: 261725

URL: https://gcc.gnu.org/viewcvs?rev=261725=gcc=rev
Log:
PR c++/81060 - ICE with unexpanded parameter pack.

* pt.c (check_for_bare_parameter_packs): Add loc parameter.
* decl.c (grokdeclarator): Call it for qualifying_scope.

Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/decl.c
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/g++.dg/cpp0x/pr81060.C
trunk/gcc/testsuite/g++.dg/cpp0x/variadic-ex2.C

[Bug c++/81060] [8 Regression] ICE with un-expanded parameter pack

2018-06-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81060

--- Comment #5 from Jason Merrill  ---
Author: jason
Date: Tue Jun 19 00:38:52 2018
New Revision: 261729

URL: https://gcc.gnu.org/viewcvs?rev=261729=gcc=rev
Log:
PR c++/81060 - ICE with unexpanded parameter pack.

* pt.c (check_for_bare_parameter_packs): Add loc parameter.
* decl.c (grokdeclarator): Call it for qualifying_scope.

Modified:
branches/gcc-8-branch/gcc/cp/ChangeLog
branches/gcc-8-branch/gcc/cp/cp-tree.h
branches/gcc-8-branch/gcc/cp/decl.c
branches/gcc-8-branch/gcc/cp/pt.c
branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/pr81060.C
branches/gcc-8-branch/gcc/testsuite/g++.dg/cpp0x/variadic-ex2.C

[Bug c++/81060] [8 Regression] ICE with un-expanded parameter pack

2017-11-16 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81060

Nathan Sidwell  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #3 from Nathan Sidwell  ---
Fixed r254817.

[Bug c++/81060] [8 Regression] ICE with un-expanded parameter pack

2017-11-16 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81060

--- Comment #2 from Nathan Sidwell  ---
Author: nathan
Date: Thu Nov 16 12:11:36 2017
New Revision: 254817

URL: https://gcc.gnu.org/viewcvs?rev=254817=gcc=rev
Log:
[PR c++/81060] ICE with invalid initialzer via lambda

https://gcc.gnu.org/ml/gcc-patches/2017-11/msg01323.html
PR c++/81060
* decl.c (xref_tag_1): Push lambda into current scope.
* name-lookup.c (do_pushtag): Don't deal with ts_lambda here.

PR c++81060
* g++.dg/cpp0x/lambda/lambda-template13.C: Avoid undefined
template using local type error.
* g++.dg/cpp0x/pr81060.C: New.

Added:
trunk/gcc/testsuite/g++.dg/cpp0x/pr81060.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/cp/name-lookup.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-template13.C

[Bug c++/81060] [8 Regression] ICE with un-expanded parameter pack

2017-06-12 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81060

Nathan Sidwell  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |nathan at gcc dot 
gnu.org

[Bug c++/81060] [8 Regression] ICE with un-expanded parameter pack

2017-06-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81060

Richard Biener  changed:

   What|Removed |Added

   Priority|P3  |P4
   Target Milestone|--- |8.0

[Bug c++/81060] [8 Regression] ICE with un-expanded parameter pack

2017-06-12 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81060

Martin Liška  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2017-06-12
 CC||marxin at gcc dot gnu.org,
   ||nathan at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #1 from Martin Liška  ---
Confirmed, started with r247909.