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

* [Bug c++/53634] Segmentation fault on nested lambda + template
  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 ` redi at gcc dot gnu.org
  2012-06-12  1:21 ` mail+gcc at tzik dot jp
  1 sibling, 0 replies; 3+ messages in thread
From: redi at gcc dot gnu.org @ 2012-06-11 14:48 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-06-11 14:47:55 UTC ---
Fixed on trunk, probably a dup of PR 47687

(Please search for existing bugs and if possible try a newer release,
especially when there are several existing "nested lambda" bugs which are fixed
in 4.7.0)


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

* [Bug c++/53634] Segmentation fault on nested lambda + template
  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
  1 sibling, 0 replies; 3+ messages in thread
From: mail+gcc at tzik dot jp @ 2012-06-12  1:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Taiju Tsuiki <mail+gcc at tzik dot jp> 2012-06-12 01:20:49 UTC ---
Oh, sorry. I might search in wrong way.


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