From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 06F363858D3C; Tue, 30 Apr 2024 02:38:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 06F363858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1714444706; bh=SgvAPCkeu2MUqIKhqYShaWKR7FZ4oqbOn6szPAljWnk=; h=From:To:Subject:Date:From; b=oXoH+rZVuOepcORQLI1VywxIDPFSxrUF9Fe6uuW+n0W68JukLzmYLjOjbjJ8iv+o4 OlY0L8kxI2CgmYNkNHhuEZhJoSUkgfeRmw3XXsCPpxf4KH6VxsLl7M+WUFeFGhF+2N QZ+3lmlihxxlajy9owBZGKMNB9h2u2T6tv7/sHY8= From: "de34 at live dot cn" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/114891] New: Unconditional use of std::is_pointer_interconvertible_base_of_v in makes the header unusable with Clang 18 Date: Tue, 30 Apr 2024 02:38:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: de34 at live dot cn 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D114891 Bug ID: 114891 Summary: Unconditional use of std::is_pointer_interconvertible_base_of_v in makes the header unusable with Clang 18 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: de34 at live dot cn Target Milestone: --- Clang only supports the intrinsic for is_pointer_interconvertible_base_of_v since 19 (https://github.com/llvm/llvm-project/pull/88473). It seems that the uses of is_pointer_interconvertible_base_of_v is not stri= ctly needed. Perhaps we should guard the uses with __cpp_lib_is_pointer_interconvertible to support old versions of Clang.=