From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10591 invoked by alias); 5 Feb 2015 15:15:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 10481 invoked by uid 48); 5 Feb 2015 15:15:07 -0000 From: "my.pvt.emailaddress at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/64948] New: Lambda reference capture initialization in template function creates segmentation fault Date: Thu, 05 Feb 2015 15:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: my.pvt.emailaddress at googlemail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-02/txt/msg00469.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D64948 Bug ID: 64948 Summary: Lambda reference capture initialization in template function creates segmentation fault Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: my.pvt.emailaddress at googlemail dot com Compilation of the following code leads to the Error Message //<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>// The preprocessed file of a minimal testcase: bug.ii //<<<<<<<<<<<<<<<<<<<<<<<<" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "bug.cc" template void foo(T t) { [&i =3D t.cbegin()]() {}; } int main() { return 0; } //>>>>>>>>>>>>>>>>>>>>>>>>>// This happens with the g++ version //<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>// and the command //<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>// An equivalent(?) code which is perfektly compilable is nobug.ii //<<<<<<<<<<<<<<<<<<<<<<<<" # 1 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 1 "" 2 # 1 "nobug.cc" template void foo(T t) { auto i =3D t.cbegin(); [&i]() {}; } int main() { return 0; } //>>>>>>>>>>>>>>>>>>>>>>>>>// >>From gcc-bugs-return-476137-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Feb 05 15:22:50 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1778 invoked by alias); 5 Feb 2015 15:22:49 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 28706 invoked by uid 48); 5 Feb 2015 15:22:41 -0000 From: "segher at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/64580] very high rs6000_stack_info() usage during LTO Firefox build on ppc64 Date: Thu, 05 Feb 2015 15:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: segher at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-02/txt/msg00470.txt.bz2 Content-length: 473 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64580 Segher Boessenkool changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #15 from Segher Boessenkool --- Fixed on all open release branches, closing.