From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4ABC3385842E; Fri, 9 Feb 2024 17:02:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4ABC3385842E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707498179; bh=YRtzgcfwZQ9M84YIf2sGB2k9hyCLOXdZLWHNEzOD4TY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Uhx6tsv7QGZvnYb6qjakTbS4ctmdF0uwVpW6G7SBNOZrtpzwsrHA/v83QbDwn+U/x TUGPwDS/q4YHzyOJTO42z+mbDPPzeu2bh4YXnkreDX1dwbiDdAhoU46ip4oSG1dL5B 6+ryFceHHcYIZi2KBE5i5Z1T3RjgrJaqHeliLklU= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/113851] boyer_moore_searcher and boyer_moore_horspool_searcher fail to accept ADL-incompatible element types Date: Fri, 09 Feb 2024 17:02:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW 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=3D113851 --- Comment #2 from Jonathan Wakely --- We fail much simpler cases too: #include template struct holder { T t; }; struct incomplete; int main() { using validator =3D holder*; validator varr[1]{}; (void) std::find(varr, varr + 1, nullptr); }=