On Tue Jul 28, 2026 at 10:46 AM CEST, Jakub Jelinek wrote: > 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?
I wasn't aware of it. I will work it in, thanks. > > Jakub Josef
