https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117367
Xi Ruoyao <xry111 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xry111 at gcc dot gnu.org --- Comment #5 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- GCC Bugzilla is really not for your "academic research" or "homework" or "KPI" or similar things. Sorry I shouldn't be so aggressive but I've seen too many invalid bug reports from your organization. And this is the worst among them. In the red banner of the "new bug" page we have: Before reporting that GCC compiles your code incorrectly, compile it with gcc -Wall -Wextra and see whether this shows anything wrong with your code. Similarly, if compiling with -fno-strict-aliasing -fwrapv makes a difference, your code probably is not correct. But you are in a completely opposite direction by using "-w".