[Bug c++/89387] [9 Regression] ICE in maybe_generic_this_capture at gcc/cp/lambda.c:945 since r268851

2019-02-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89387 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/89387] [9 Regression] ICE in maybe_generic_this_capture at gcc/cp/lambda.c:945 since r268851

2019-02-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89387 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Tue Feb 19 08:43:23 2019 New Revision: 269009 URL: https://gcc.gnu.org/viewcvs?rev=269009=gcc=rev Log: PR c++/89387 * lambda.c (maybe_generic_this_capture): Don't check

[Bug c++/89387] [9 Regression] ICE in maybe_generic_this_capture at gcc/cp/lambda.c:945 since r268851

2019-02-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89387 --- Comment #2 from Jakub Jelinek --- Created attachment 45755 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45755=edit gcc9-pr89387.patch Untested fix.

[Bug c++/89387] [9 Regression] ICE in maybe_generic_this_capture at gcc/cp/lambda.c:945 since r268851

2019-02-18 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89387 --- Comment #1 from Martin Liška --- Reduced test-case: $ cat ice.ii template class a> class b { using c = int; using f = a; f::d; void e() { [&] { d(); }; } void d(); };

[Bug c++/89387] [9 Regression] ICE in maybe_generic_this_capture at gcc/cp/lambda.c:945 since r268851

2019-02-18 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89387 Martin Liška changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED