https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82946
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=80944 --- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> --- I should add that a similar argument could be made in pr80944. The difference is that the other report deals with memset(s->a, 0, ...) which, although strictly also prevented from creating valid pointers (including null pointers), is commonly used by programs to create null pointers.