This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/48228] incorrect signed overflow warning when only 0 and 1 are used


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]