https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103960
--- Comment #6 from Avi Kivity ---
Ah! thanks.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103960
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #5
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103960
Avi Kivity changed:
What|Removed |Added
CC||avi at scylladb dot com
--- Comment #4 fro
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103960
Andrew Pinski changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103960
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed||2022-01-10
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103960
--- Comment #1 from Andrew Pinski ---
So it looks like the warning is coming from the front-end though and not from
c-family :).
I noticed this because take:
struct MyStruct;
[[gg (read_only, 1)]] int my_func (const struct MyStruct * const self