This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/83433] Should -Wstrict-overflow=2 produce a diagnostic for abs(INT_MIN)
- From: "yaghmour.shafik at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 15 Dec 2017 00:47:33 +0000
- Subject: [Bug c/83433] Should -Wstrict-overflow=2 produce a diagnostic for abs(INT_MIN)
- Auto-submitted: auto-generated
- References: <bug-83433-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83433
--- Comment #3 from Shafik Yaghmour <yaghmour.shafik at gmail dot com> ---
I still think it is awkwardly worded but your second point is valid about it
only warning on comparisons.
Please, feel free to close.