[Bug c++/84802] [8 Regression] ICE in gimplify_decl_expr since r251433

2018-03-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84802

Jakub Jelinek  changed:

   What|Removed |Added

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

--- Comment #3 from Jakub Jelinek  ---
Fixed, thanks.

[Bug c++/84802] [8 Regression] ICE in gimplify_decl_expr since r251433

2018-03-12 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84802

--- Comment #2 from Jason Merrill  ---
Author: jason
Date: Mon Mar 12 12:58:38 2018
New Revision: 258447

URL: https://gcc.gnu.org/viewcvs?rev=258447&root=gcc&view=rev
Log:
PR c++/84802 - ICE capturing uninstantiated class.

* lambda.c (build_capture_proxy): Call complete_type.

Added:
trunk/gcc/testsuite/g++.dg/cpp1y/lambda-generic-ice9.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/lambda.c

[Bug c++/84802] [8 Regression] ICE in gimplify_decl_expr since r251433

2018-03-11 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84802

Jason Merrill  changed:

   What|Removed |Added

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

[Bug c++/84802] [8 Regression] ICE in gimplify_decl_expr since r251433

2018-03-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84802

--- Comment #1 from Jakub Jelinek  ---
Created attachment 43612
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43612&action=edit
pr84802.C

Updated testcase so that clang++ accepts it (just changed sizeof(int) to 1).

[Bug c++/84802] [8 Regression] ICE in gimplify_decl_expr since r251433

2018-03-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84802

Jakub Jelinek  changed:

   What|Removed |Added

   Priority|P3  |P1
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2018-03-10
 CC||jason at gcc dot gnu.org
   Target Milestone|--- |8.0
 Ever confirmed|0   |1