public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/64496] New: [4.8/4.9/5 Regression] ICE with NSDMI and lambda @ 2015-01-05 10:09 jakub at gcc dot gnu.org 2015-01-05 10:09 ` [Bug c++/64496] " jakub at gcc dot gnu.org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: jakub at gcc dot gnu.org @ 2015-01-05 10:09 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64496 Bug ID: 64496 Summary: [4.8/4.9/5 Regression] ICE with NSDMI and lambda Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org CC: jason at gcc dot gnu.org template <typename> class B; template <typename W, typename... X> struct B<W(X...)> { template <typename F> B(F); }; template <typename W, typename... X> template <typename F> B<W(X...)>::B(F) {} int main() { int a; struct A { B<void()> l = [=] { a; }; }; A t; } ICEs with -std=c++0x starting with r179155. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/64496] [4.8/4.9/5 Regression] ICE with NSDMI and lambda 2015-01-05 10:09 [Bug c++/64496] New: [4.8/4.9/5 Regression] ICE with NSDMI and lambda jakub at gcc dot gnu.org @ 2015-01-05 10:09 ` jakub at gcc dot gnu.org 2015-01-06 20:45 ` jason at gcc dot gnu.org 2015-01-06 22:14 ` jason at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: jakub at gcc dot gnu.org @ 2015-01-05 10:09 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64496 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-01-05 Target Milestone|--- |4.8.5 Ever confirmed|0 |1 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/64496] [4.8/4.9/5 Regression] ICE with NSDMI and lambda 2015-01-05 10:09 [Bug c++/64496] New: [4.8/4.9/5 Regression] ICE with NSDMI and lambda jakub at gcc dot gnu.org 2015-01-05 10:09 ` [Bug c++/64496] " jakub at gcc dot gnu.org @ 2015-01-06 20:45 ` jason at gcc dot gnu.org 2015-01-06 22:14 ` jason at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: jason at gcc dot gnu.org @ 2015-01-06 20:45 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64496 --- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Tue Jan 6 20:44:39 2015 New Revision: 219266 URL: https://gcc.gnu.org/viewcvs?rev=219266&root=gcc&view=rev Log: PR c++/64496 * semantics.c (process_outer_var_ref): Diagnose lambda in local class NSDMI. Added: trunk/gcc/testsuite/g++.dg/cpp0x/lambda/lambda-nsdmi7.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/semantics.c ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/64496] [4.8/4.9/5 Regression] ICE with NSDMI and lambda 2015-01-05 10:09 [Bug c++/64496] New: [4.8/4.9/5 Regression] ICE with NSDMI and lambda jakub at gcc dot gnu.org 2015-01-05 10:09 ` [Bug c++/64496] " jakub at gcc dot gnu.org 2015-01-06 20:45 ` jason at gcc dot gnu.org @ 2015-01-06 22:14 ` jason at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: jason at gcc dot gnu.org @ 2015-01-06 22:14 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64496 Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org Target Milestone|4.8.5 |5.0 --- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> --- Fixed for GCC 5. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-01-06 22:14 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2015-01-05 10:09 [Bug c++/64496] New: [4.8/4.9/5 Regression] ICE with NSDMI and lambda jakub at gcc dot gnu.org 2015-01-05 10:09 ` [Bug c++/64496] " jakub at gcc dot gnu.org 2015-01-06 20:45 ` jason at gcc dot gnu.org 2015-01-06 22:14 ` jason at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).