OSDN Git Service

2008-04-18 Rafael Espindola <espindola@google.com>
authorespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Apr 2008 21:23:10 +0000 (21:23 +0000)
committerespindola <espindola@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Apr 2008 21:23:10 +0000 (21:23 +0000)
commitd31e54f19a2df9446469fb87557a812eb5854f49
tree968b2b693d69697134a147506a0ec8b114504701
parent8fb1a85318c8ab4647d7ebd5fecafa7a35804a32
2008-04-18  Rafael Espindola  <espindola@google.com>
* tree-vrp.c (find_case_label_index): Fix the binary search.
(find_case_label_range): New.
(vrp_visit_switch_stmt): Use find_case_label_range.
(simplify_switch_using_ranges): Use find_case_label_range.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134452 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-vrp.c