From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 522B13858D3C; Wed, 22 Feb 2023 21:31:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 522B13858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677101476; bh=bngjvxM1Aorro7V59H5doq7AaGqrQ3FD8xoWg9AaAdc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=dEZPuJyUZ6RlauyrnsGFMmq6BjnapWp6KNGNgvbnrSDhqLJce5e6wb7PKeQiQG/pd K6nfaL0Vzj0VK/YdCOYbzEcVZ6smT/ehghLj5C506A7cZJ4xouX1fhEea7kaTGN7bO xVsKzmadx2EFvQIGrkSIww4LNBXdGaGQa5vGZupY= From: "kees at outflux dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/108896] provide "element_count" attribute to give more context to __builtin_dynamic_object_size() and -fsanitize=bounds Date: Wed, 22 Feb 2023 21:31:16 +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: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kees at outflux dot net 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=3D108896 --- Comment #1 from Kees Cook --- The corresponding Clang feature request is here: https://github.com/llvm/llvm-project/issues/60928=