https://gcc.gnu.org/bugzilla/show_bug.cgi?id=129186
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |accepts-invalid
Ever confirmed|0 |1
Last reconfirmed| |2026-12-03
Status|UNCONFIRMED |NEW
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed on trunk: in gcc/c-family/c-attribs.cc (handle_access_attribute),
strncmp matches any identifier that starts with a valid mode string (e.g.
read_only_junk, nonesense) without checking string termination or proper '__'
handling.