From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BD7E63858D33; Wed, 1 Mar 2023 11:10:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BD7E63858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677669058; bh=eSj00IOvHDuGjKqwYnBxejrwQ/UvVnCGJENYkpxDs7w=; h=From:To:Subject:Date:In-Reply-To:References:From; b=nbERJs7qRhmDkVRX2YOvYtnc4b+plvfL/Oji0umDT1Hvp/MfbTX3jhaz8enX5Hgwy B2LsuuikMVa0b5JCPG1Z6MSGfUQ51pObW+B9bQT/9YdL5wRtTWsUVFO2++Bu6Y+KHq m45vuTW6w8eX5eU9Mphc4fUzpBFq+aZrH0oOZOac= From: "jakub at gcc dot gnu.org" 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:10:57 +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: jakub at gcc dot gnu.org 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: keywords 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 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|ice-on-valid-code | --- Comment #2 from Jakub Jelinek --- Actually, I don't see how it can be valid. x (or b1) is const int[10] & and structured binding on int is clearly inval= id. The ICE got fixed in r13-4460-gee4f25999f6832a1c, except that since r13-5379-gd427407a199a0c276cb02 we ICE again with -fopenmp -std=3Dc++11 (er= ror recovery after emitting some errors).=