This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/84121] optimizer breaks code without -frwapv, but -Wall -Wextra show no warnings
- From: "glisse at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 30 Jan 2018 10:50:03 +0000
- Subject: [Bug c/84121] optimizer breaks code without -frwapv, but -Wall -Wextra show no warnings
- Auto-submitted: auto-generated
- References: <bug-84121-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84121
--- Comment #5 from Marc Glisse <glisse at gcc dot gnu.org> ---
What I don't understand is why -fsanitize=undefined does not say anything when
running this program, whether I use gcc or clang...