https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80806
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=44108 --- Comment #7 from Martin Sebor <msebor at gcc dot gnu.org> --- My patch for this warning causes regressions in Wunused-var-8.c added for bug 44108. As it turns out, GCC considers it a use of a variable even when it's just mentioned in an unevaluated context (such as the sizeof expression in the call to memset in comment #0), without being evaluated.