[Bug c/100670] unused attribute ignored on function definition
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100670 Richard Biener changed: What|Removed |Added CC||jsm28 at gcc dot gnu.org Ever conf
[Bug c/100670] unused attribute ignored on function definition
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100670 --- Comment #1 from Tom de Vries --- Note btw that clang does not generate a warning: ... $ clang -c -Wall -O0 -g -Werror foo.c -DTYPE="void *" $ ... which means the attribute works, because if we remove the attribute we have instead: ... $ cla