From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E72653882100; Sat, 15 Jun 2024 18:23:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E72653882100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1718475787; bh=Uaq0D+8L/XLKKr9zFX18UOPNzg8kFfvRfrttFenV8z0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=UXR1cVmQ8a1yN/B2idpiL//Xgpf1p3K1ByYwHN7LeqYG0kNMC6oDtPxjytj/y5Zko 6/WMtGxJ3U3LoZXVAnJYW3hwXQ7oEMspOon/fM6TAQL2SWbYclqSeH0j0EQXQZN78Q Um3nmfxEpsvvODSg50TIWgIo4eT8oW89YttAW/nY= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/115497] [15 Regression] __is_pointer doesn't compile with clang since 014879ea4c86b3b8ab6b61a1226ee5b31e816c8b Date: Sat, 15 Jun 2024 18:23:07 +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: 15.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: 15.0 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=3D115497 --- Comment #12 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #11) > Although that class template has been there for years, so if any library > like abseil was using the built-in, they're already have the problem that > libstdc++ now has. It looks like the abseil code is not using __is_pointer directly at all, but rather the standard headers here. I suspect we should just rename the __is_pointer template to workaround this clang oddness (and add a comment on why the name is not __is_pointer).=