On Mon, Jul 27, 2026 at 04:42:43PM +0200, Josef Melcr wrote: > The attribute handler for callback_only currently doesn't detect > negative indices in the attribute's arguments, which is not intended. > This patch fixes that. > > Best regards, > Josef > > gcc/c-family/ChangeLog: > > * c-attribs.cc (handle_callback_only_attribute): Fix various > bounds checks. > > Signed-off-by: Josef Melcr <[email protected]>
Why aren't you using positional_argument for this?
Jakub
