https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78394
Jeffrey A. Law <law at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |law at redhat dot com --- Comment #5 from Jeffrey A. Law <law at redhat dot com> --- Well, -Og doesn't do any of the detailed analysis and optimization that would give the compiler the opportunity to eliminate the paths that result in the false positive. So it's no great surprise.