From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 88110 invoked by alias); 17 Aug 2015 11:03:27 -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 87691 invoked by uid 48); 17 Aug 2015 11:03:18 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/67247] ICE on std::forward args&& inside nested lambda function Date: Mon, 17 Aug 2015 11:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: 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 cf_reconfirmed_on cc everconfirmed Message-ID: In-Reply-To: References: 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-08/txt/msg01118.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D67247 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-08-17 CC| |trippels at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Markus Trippelsdorf --- markus@x4 tmp % cat la.ii template _Tp forward (int); template auto operator>> (F1, F2 f2) { return f2 (0); } template decltype (0) operator<< (F1 f1, F2) { f1 (0); } auto divide (int, int) { 0 >> [](auto... args1) { return [&](auto... args2) { divide (forward (args1)..., args2...); }; } << 0; } markus@x4 tmp % g++ -c la.ii la.ii: In instantiation of =E2=80=98divide(int, int):::: [with auto:2 =3D {int}; auto:1 =3D {int}]=E2=80= =99: la.ii:13:6: required from =E2=80=98int operator<<(F1, F2) [with F1 =3D di= vide(int, int):: [with auto:1 =3D {int}]::; F= 2 =3D int]=E2=80=99 la.ii:24:8: required from here la.ii:22:14: internal compiler error: Segmentation fault divide (forward (args1)..., args2...); ^ 0xc795ef crash_signal ../../gcc/gcc/toplev.c:352 0x7f7dae93e70f ??? /var/tmp/glibc/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c= :0 0x5c1525 resolve_args ../../gcc/gcc/cp/call.c:3942 0x5d8ee9 build_new_function_call(tree_node*, vec**, bool, int) ../../gcc/gcc/cp/call.c:4052 0x7666d8 finish_call_expr(tree_node*, vec**, b= ool, bool, int) ../../gcc/gcc/cp/semantics.c:2391 0x643032 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, boo= l, bool) ../../gcc/gcc/cp/pt.c:15860 0x633ea8 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) ../../gcc/gcc/cp/pt.c:15029 0x632d41 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) ../../gcc/gcc/cp/pt.c:14440 0x634b0f tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) ../../gcc/gcc/cp/pt.c:14612 0x633103 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) ../../gcc/gcc/cp/pt.c:14426 0x634b0f tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) ../../gcc/gcc/cp/pt.c:14612 0x631815 instantiate_decl(tree_node*, int, bool) ../../gcc/gcc/cp/pt.c:21154 0x6b6e42 mark_used(tree_node*, int) ../../gcc/gcc/cp/decl2.c:5101 0x5c9f2a build_over_call ../../gcc/gcc/cp/call.c:7569 0x5d9cf1 build_op_call_1 ../../gcc/gcc/cp/call.c:4358 0x5d9cf1 build_op_call(tree_node*, vec**, int) ../../gcc/gcc/cp/call.c:4381 0x7668e8 finish_call_expr(tree_node*, vec**, b= ool, bool, int) ../../gcc/gcc/cp/semantics.c:2408 0x643032 tsubst_copy_and_build(tree_node*, tree_node*, int, tree_node*, boo= l, bool) ../../gcc/gcc/cp/pt.c:15860 0x633ea8 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) ../../gcc/gcc/cp/pt.c:15029 0x632d41 tsubst_expr(tree_node*, tree_node*, int, tree_node*, bool) ../../gcc/gcc/cp/pt.c:14440 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. >>From gcc-bugs-return-494977-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Aug 17 11:23:27 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 12346 invoked by alias); 17 Aug 2015 11:23:27 -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 12310 invoked by uid 55); 17 Aug 2015 11:23:22 -0000 From: "yroux at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/67127] [ARM] Avoiding odd-number ldrd/strd in movdi introduced a regression on armeb-linux-gnueabihf Date: Mon, 17 Aug 2015 11:23: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: yroux at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: yroux at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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-08/txt/msg01119.txt.bz2 Content-length: 615 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67127 --- Comment #2 from Yvan Roux --- Author: yroux Date: Mon Aug 17 11:22:49 2015 New Revision: 226937 URL: https://gcc.gnu.org/viewcvs?rev=226937&root=gcc&view=rev Log: 2015-08-17 Yvan Roux Backport from mainline: 2015-08-12 Yvan Roux PR target/67127 * config/arm/arm.md (movdi): Restrict illegitimate ldrd/strd checking to ARM core registers. Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/config/arm/arm.md