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

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).