Re: [PATCH 1/2] Compiler Attributes: Add __access macro

From: Miguel Ojeda

Date: Tue Apr 21 2026 - 15:16:21 EST


On Tue, Apr 21, 2026 at 9:04 PM Marco Elver <elver@xxxxxxxxxx> wrote:
>
> Add support for the `__access__` attribute, which is supported since gcc
> >= 11 but not currently supported by clang.

> + * Optional: only supported since gcc >= 11

>From a quick try in Compiler Explorer, it seems GCC recognizes it
starting with GCC 10 rather than 11. It also seems to be in the docs.
Is there a reason for the 11?

Apart from that, the addition looks OK:

Acked-by: Miguel Ojeda <ojeda@xxxxxxxxxx>

Thanks!

Cheers,
Miguel