https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90349
Darryl Okahata <darryl_okahata at keysight dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |darryl_okahata at keysight dot com --- Comment #3 from Darryl Okahata <darryl_okahata at keysight dot com> --- The warning really should be turned on by default, with perhaps just the slightest hint that stunningly awesome unexpected optimized code might be generated. If it weren't for the false positives, I'd suggest making this an error when optimization is used. For those of us who merely use compilers (as opposed to those of you who develop them), this appears to be such a POLA violation. Yes, it's a bug in our code, and the code must really be fixed, but you really need to slap us in the face, punch us in the stomach, and kick us in the rear to emphasize just how big a problem this is. Otherwise, "Meh, it's just a warning".