https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66618
Alex Henrie <alexhenrie24 at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alexhenrie24 at gmail dot com --- Comment #6 from Alex Henrie <alexhenrie24 at gmail dot com> --- This wasn't fixed properly, or it was broken again before the release of GCC 8.1: In GCC 8.1 and later no warning at all is issued for the example program, even at -O0.