From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A3DD33858D33; Wed, 1 Mar 2023 11:52:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A3DD33858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677671558; bh=9brNPjHmzX/75ufYpTgmBQk0h6PHGNYTvldkN/x4Sxg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ZzrIW0eianLyursg9m3lbyM7XdWcdpXaG21hK6ghxANDULVIQ0skRkqEwP5BC22y9 ML4OYgHPfqxinpbEABs1uBoIQcGmOiCqmT0XGVuKAM9pO9U036Mam3ix5eSzwD8dnH hSS5zM/oC6boGQDxHM3awsEvaQI8aqHrPdvp53AE= From: "northon_patrick3 at yahoo dot ca" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/105839] internal compiler error: in tsubst_omp_for_iterator with openmp and structured bindings in a template Date: Wed, 01 Mar 2023 11:52:37 +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: 12.1.0 X-Bugzilla-Keywords: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: northon_patrick3 at yahoo dot ca X-Bugzilla-Status: UNCONFIRMED 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: 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D105839 --- Comment #4 from northon_patrick3 at yahoo dot ca --- Actually is still crash even on valid code: ``` template void foo (const T &x) { [&] (auto&& y) { #pragma omp parallel for for (auto&& [v1, v2] : x) ; } ([]{}); } struct A { int a, b; }; void bar () { A a[10]; foo (a); } ```=