From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0CF883858C53; Fri, 14 Jul 2023 15:29:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0CF883858C53 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689348555; bh=ysn13udJTuP5BSvdUAKny1n+Ztel/F0qP23D0iMBsuI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=SDDIL/d45w2UQl2d0xobGL31VdpfscFKW+anItEzdld1bJ6QLIWkSlyW7faPfPOeV h6RXQ5MfVIUhwxmn9aYXN+x9QfVL7qVrPg/jcjlRvy3/oSDzqY6OacjUT++LrsR9jb sctUCQs5Qyd+Ppxqgy4G0Ea6gT+RmjGJPQr0TUFY= From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/102854] [OpenMP] Bogus "initializer expression refers to iteration variable" when using templates Date: Fri, 14 Jul 2023 15:29:14 +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.0 X-Bugzilla-Keywords: openmp, rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus 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: 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=3D102854 --- Comment #4 from Tobias Burnus --- The testcase of comment 2 seems to be the same as the one of bug 106449 comment 4, which went in as r13-1887-g97d32048c04e97 openmp: Fix up handling of non-rectangular simd l= oops with pointer type iterators [PR106449] A slightly modified variant of that testcase went in follow-up commit r13-1893-g85fe7e7dd1f146 Add libgomp.c-c++-common/pr106449-2.c * * * >From the bug comments, it seems as if the following remains: "Non-rectangular loops with class random access iterators remain broken, th= at is something to be fixed incrementally." * * * However, given the commit for PR106449 (see above) and the earlier commit r12-4733-g2084b5f42a4432 openmp: Allow non-rectangular loops with pointer iterators (committed right after the commit of comment 3): I wonder whether the only thing that remains to be done is to add a real C++ testcase for random access iterator non-rect loops - assuming that the poin= ter patches cover all what's needed in terms of compiler support.=