public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/53634] New: Segmentation fault on nested lambda + template
@ 2012-06-11 13:53 mail+gcc at tzik dot jp
  2012-06-11 14:48 ` [Bug c++/53634] " redi at gcc dot gnu.org
  2012-06-12  1:21 ` mail+gcc at tzik dot jp
  0 siblings, 2 replies; 3+ messages in thread
From: mail+gcc at tzik dot jp @ 2012-06-11 13:53 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53634

             Bug #: 53634
           Summary: Segmentation fault on nested lambda + template
    Classification: Unclassified
           Product: gcc
           Version: 4.6.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: mail+gcc@tzik.jp


Hi.
I encountered a segmentation fault when I compile following code on gcc-4.5.3
and gcc-4.6.3:

template<typename T>
void hoge(T) {
}

int main(int, char**) {
  hoge([](){return [](){};}());
  return 0;
}


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-06-12  1:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-11 13:53 [Bug c++/53634] New: Segmentation fault on nested lambda + template mail+gcc at tzik dot jp
2012-06-11 14:48 ` [Bug c++/53634] " redi at gcc dot gnu.org
2012-06-12  1:21 ` mail+gcc at tzik dot jp

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