https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14030
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |msebor at gcc dot gnu.org Known to fail|3.3.3, 3.4.0 |4.5.3, 4.8.3, 4.9.3, 5.3.0, | |6.3.0, 7.0 --- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> --- Output with today's top of trunk shows no progress has been made. Clang diagnoses it by issuing warnings similar to ICC's. $ cat t.c && gcc -S -Wall -Wextra -Wpedantic t.c void f (one, two) int one; char two; { } void g(int i) { f (1); f (1, 'e', i); } t.c: In function ‘f’: t.c:2:7: warning: unused parameter ‘one’ [-Wunused-parameter] int one; ^~~ t.c:3:8: warning: unused parameter ‘two’ [-Wunused-parameter] char two; ^~~