From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C156F385DC0A; Thu, 23 Apr 2020 17:55:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C156F385DC0A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1587664507; bh=cCG5KgWQIh/vNiT4svn87Ea7kecjK4D31ZUPE07VXJQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jHFHu1w2049bp8gS02q0rRnw0Y+nJYUnjAh9BXhxGgXpworrxP6Q+ny8EtYF4IOUh UxSWV8jz+IDRFYT0Q9+X6ag/gdzurPMCEYWV/mFpXPzIevEe+tiTuJlTiaohpFxbvg Hl478Jbf8ZAErUBJ/JfwMwtJEDIcSIBRTuVgvUu0= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/90448] [8/9 Regression] decltype-based lambda parameter pack is rejected Date: Thu, 23 Apr 2020 17:55:07 +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: 9.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 8.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Apr 2020 17:55:07 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D90448 --- Comment #5 from Jakub Jelinek --- The testcase ICEs on powerpc64-linux with -m32: lambda-generic-variadic20.C:5:12: internal compiler error: in expand_expr_addr_expr_1, at expr.c:8075 5 | auto L =3D [](auto ... a) { | ^~~~~~~~~~~~~~~~ 6 | auto M =3D [](decltype(a) ... b) -> void { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 7 | }; | ~~=20=20=20=20=20=20 8 | return M; | ~~~~~~~~~ 9 | }; | ~=20=20=20=20=20=20=20=20=20 0xd9422a expand_expr_addr_expr_1 ../../gcc/expr.c:8075 0xd94817 expand_expr_addr_expr ../../gcc/expr.c:8188 0xda0a68 expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) ../../gcc/expr.c:11363 0xd94bcd expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifi= er, rtx_def**, bool) ../../gcc/expr.c:8358 0xc050ff expand_normal ../../gcc/expr.h:288 0xc0686f precompute_register_parameters ../../gcc/calls.c:982 0xc0fc27 expand_call(tree_node*, rtx_def*, int) ../../gcc/calls.c:4398 0xd9f9cb expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) ../../gcc/expr.c:11135 0xd94bcd expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifi= er, rtx_def**, bool) ../../gcc/expr.c:8358 0xd8cef5 store_expr(tree_node*, rtx_def*, int, bool, bool) ../../gcc/expr.c:5752 0xd8c194 expand_assignment(tree_node*, tree_node*, bool) ../../gcc/expr.c:5514 0xc2860b expand_call_stmt ../../gcc/cfgexpand.c:2701 0xc2b6b5 expand_gimple_stmt_1 ../../gcc/cfgexpand.c:3682 0xc2bc49 expand_gimple_stmt ../../gcc/cfgexpand.c:3847 0xc32a16 expand_gimple_basic_block ../../gcc/cfgexpand.c:5887 0xc3401a execute ../../gcc/cfgexpand.c:6542 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.=