https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82103
Jeffrey A. Law <law at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |law at redhat dot com Resolution|--- |INVALID --- Comment #4 from Jeffrey A. Law <law at redhat dot com> --- IMHO the warning is correct here. The code clearly does very bad things when frame is zero. In that case we pass -1 to the memset #define. Which ultimately results in the insane memset arguments. This is *precisely* the kinds of things we want to be warning about.