[Bug c/103960] Clang's -Wunknown-attributes is more useful than -Wattributes

2023-05-25 Thread avi at scylladb dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103960 --- Comment #6 from Avi Kivity --- Ah! thanks.

[Bug c/103960] Clang's -Wunknown-attributes is more useful than -Wattributes

2023-05-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
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

[Bug c/103960] Clang's -Wunknown-attributes is more useful than -Wattributes

2023-05-25 Thread avi at scylladb dot com via Gcc-bugs
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

[Bug c/103960] Clang's -Wunknown-attributes is more useful than -Wattributes

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103960 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c/103960] Clang's -Wunknown-attributes is more useful than -Wattributes

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103960 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-01-10 Ever confirmed|0

[Bug c/103960] Clang's -Wunknown-attributes is more useful than -Wattributes

2022-01-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
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