https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88320
--- Comment #9 from Jonny Grant <jg at jguk dot org> --- (In reply to David Malcolm from comment #8) > FWIW, clang trunk currently gives the same erroneous suggestion: > > <source>:4:19: error: use of undeclared identifier 'aresults'; did you mean > 'aresult'? > int aresult = aresults +1; > ^~~~~~~~ > aresult > <source>:4:9: note: 'aresult' declared here > int aresult = aresults +1; > ^ > 1 error generated. Being better than Clang is always a plus.