[Bug c++/42737] New: c++0x: error returning a lambda function

2010-01-13 Thread vimal78 at gmail dot com
rsion: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vimal78 at gmail dot com GCC build triplet: GNU C version 4.5.0 20091231 (experimental),

[Bug c++/42737] c++0x: error returning a lambda function

2010-01-13 Thread vimal78 at gmail dot com
--- Comment #1 from vimal78 at gmail dot com 2010-01-13 22:32 --- Created an attachment (id=19586) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19586&action=view) c++ source file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42737

[Bug c++/42737] c++0x: error returning a lambda function

2010-01-13 Thread vimal78 at gmail dot com
--- Comment #2 from vimal78 at gmail dot com 2010-01-13 22:33 --- Created an attachment (id=19587) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19587&action=view) generated file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42737

[Bug c++/42737] c++0x: error returning a lambda function

2010-01-13 Thread vimal78 at gmail dot com
--- Comment #3 from vimal78 at gmail dot com 2010-01-13 22:33 --- Created an attachment (id=19588) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19588&action=view) generated file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42737

[Bug c++/42738] New: nested lambda function: Segmentation fault

2010-01-13 Thread vimal78 at gmail dot com
eportedBy: vimal78 at gmail dot com GCC build triplet: compiled by GNU C version 4.5.0 20091231 GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42738

[Bug c++/42738] nested lambda function: Segmentation fault

2010-01-13 Thread vimal78 at gmail dot com
--- Comment #1 from vimal78 at gmail dot com 2010-01-13 23:34 --- Created an attachment (id=19589) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19589&action=view) example in the draft standard n3000 This is an example in the draft standard n3000. section 5.1.2 p

[Bug c++/42738] nested lambda function: Segmentation fault

2010-01-13 Thread vimal78 at gmail dot com
--- Comment #2 from vimal78 at gmail dot com 2010-01-13 23:35 --- Created an attachment (id=19590) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19590&action=view) generated file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42738

[Bug c++/42738] nested lambda function: Segmentation fault

2010-01-13 Thread vimal78 at gmail dot com
--- Comment #3 from vimal78 at gmail dot com 2010-01-13 23:35 --- Created an attachment (id=19591) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19591&action=view) generated file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42738

[Bug c++/42738] nested lambda function: Segmentation fault

2010-01-13 Thread vimal78 at gmail dot com
-- vimal78 at gmail dot com changed: What|Removed |Added Severity|normal |major http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42738

[Bug c++/42741] New: core dump in recursive lambda function

2010-01-13 Thread vimal78 at gmail dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: vimal78 at gmail dot com GCC build triplet: version 4.5.0 20091231 (experimental) GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42741

[Bug c++/42741] c++0x: core dump in recursive lambda function

2010-01-13 Thread vimal78 at gmail dot com
--- Comment #1 from vimal78 at gmail dot com 2010-01-14 01:59 --- the capture list refers to these lambda functions: auto term = [](int a)->int{return a*a;}; auto next = [](int a)->int{return a++;}; sorry i didn't put this along earlier. -- vimal78 at gmail dot

[Bug c++/42741] c++0x: core dump in recursive lambda function

2010-01-13 Thread vimal78 at gmail dot com
--- Comment #2 from vimal78 at gmail dot com 2010-01-14 02:00 --- Created an attachment (id=19592) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19592&action=view) source file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42741

[Bug c++/42741] c++0x: core dump in recursive lambda function

2010-01-13 Thread vimal78 at gmail dot com
--- Comment #3 from vimal78 at gmail dot com 2010-01-14 02:01 --- Created an attachment (id=19593) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19593&action=view) generated file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42741

[Bug c++/42741] c++0x: core dump in recursive lambda function

2010-01-13 Thread vimal78 at gmail dot com
--- Comment #4 from vimal78 at gmail dot com 2010-01-14 02:01 --- Created an attachment (id=19594) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19594&action=view) generated file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42741

[Bug c++/42741] [c++0x] core dump in recursive lambda function

2010-01-14 Thread vimal78 at gmail dot com
--- Comment #5 from vimal78 at gmail dot com 2010-01-14 21:42 --- i am sorry, this is not a defect. -- vimal78 at gmail dot com changed: What|Removed |Added