This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/48228] incorrect signed overflow warning when only 0 and 1 are used
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 22 Mar 2011 10:29:39 +0000
- Subject: [Bug c/48228] incorrect signed overflow warning when only 0 and 1 are used
- Auto-submitted: auto-generated
- References: <bug-48228-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48228
--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-03-22 10:29:28 UTC ---
Hm, not similar. We have
Visiting PHI node: terminal_window_p_24 = PHI <terminal_window_p_3(8)>
Argument #0 (8 -> 9 executable)
terminal_window_p_3
Value: [0, 1]
Found new range for terminal_window_p_24: [0, +INF(OVF)]
which in the end triggers this.