https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103939
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> --- I see no such usage in dvdisaster, so I assume you were talking about the original example you gave in comment 0. Nobody is disputing the usefulness of that warning. I was questioning whether we need to care about memset(p,sizeof(a),sizeof(b)).