http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43772
Marc Glisse <marc.glisse at normalesup dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marc.glisse at normalesup | |dot org --- Comment #9 from Marc Glisse <marc.glisse at normalesup dot org> 2012-04-28 12:19:54 UTC --- For : x>=INT_MIN && x<=INT_MAX the code creates a range for x>=INT_MIN, another range for x<=INT_MAX, merges them into a single range, checks that that range is trivial (empty or full), and then warns according to the operator && or ||. It forgets to check first whether the first 2 ranges are trivial.