From nobody Wed Oct 05 03:53:56 2022 X-Original-To: toolchain@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Mj1043szKz4V1dD for ; Wed, 5 Oct 2022 03:53:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mj1040QT7z3m57 for ; Wed, 5 Oct 2022 03:53:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Mj1036ZlDzn2c for ; Wed, 5 Oct 2022 03:53:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2953rtoT017499 for ; Wed, 5 Oct 2022 03:53:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2953rt6I017498 for toolchain@FreeBSD.org; Wed, 5 Oct 2022 03:53:55 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 266834] clang: search doesn't work for filesystem::path in clang-14 Date: Wed, 05 Oct 2022 03:53:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664942036; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VBuzgToEsj4O6CrQLNeyvwWhnGhuU/ZOEigBIx1fanE=; b=sYAgMLI7pgjDZvzI0XvTXEHTx5wyq6lGKWf4nLGPQBw8/6QkevQCVy9r8gYCCC0GL38vxf IgpFz1fgrs7XQYaQAxQvLP+KJ1Jx+rHg2ecZ11ngqYZJCQwvk+NM4qbFo2afI3yUga1x8i axdGNJ1E3RShLrZ9JL3Ejxw/BjRrj8CwoYdYkHa533Cu/V5j5AQ6PHqcgD9tSJqv043iUO C5yhrtea9nYNoc0CO1JGdUZT9gqRxC9mJfM2ruYMtC8bY4Q67Kg2BR4g41jbgzo5K9dxAD zUY1U8Yw4b7WGnObn/uCzSBJithdHXB7BueL7fLdl6IZbjJ8SYnmCIGPwpyixQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664942036; a=rsa-sha256; cv=none; b=m6fV5ZPCJdUFB+ZnmOIYRCxDBWYVN8dnonr7jjnMzW6eVPp1cUQXR94PnFtsmRCTbAmz7c f68xamcIwt+xHbDkkF6PWAeDqernjYvVwmtjlfr1P/hkTCrSfPy16nl1oD+4+u9G6v7bVf jwv2q5VoZdLpqTQVhT40bHvWi7ZPnknav/6qXth1ozJxEsgYPv/B6oEa4asQIIbbT/mRti aAbt05wBl27IlzMJslqDl1Ia7l0EpylODEYPJpOQPF4yKLU/R+Aj8kvuLDzydZEp1M6A4A 9QEtR0vepFKynEimE3XHIovEwAKmdWZuw/KhlDD3HsYiWTdE01KlNO8QzN5kKQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266834 Mark Millard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marklmi26-fbsd@yahoo.com --- Comment #2 from Mark Millard --- It seems highly unlikely that a C++ standard would be adjusted to require std::search to work on iterators where *i0 and *i1 could be bound to different objects but have i0=3D=3Di1 . But path::iterator's are explicitly allowed to have this property. Unless a vintage of the language standard changes either the path::iterator's requirements or the search's allowed requirements, expect variability in implementations --without the variations being violations of the standard's criteria. Summary: It looks to be just another example of an Implementation-Defined aspect of the langauge. There are lots of them that lead to non-portable but standard-compliant source code being possible. It is an example of a reason that C++ code that is intended to be rather portable should be explicitly checked against multiple, distinct C++ implementations. --=20 You are receiving this mail because: You are the assignee for the bug.=