]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-vrp.c (find_case_label_ranges): New function.
authorTom de Vries <tom@codesourcery.com>
Wed, 1 Aug 2012 16:53:05 +0000 (16:53 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Wed, 1 Aug 2012 16:53:05 +0000 (16:53 +0000)
commit8bb37e9ad31d1e78f97d51c6aa75a287f57903eb
treeb03905c678544a293cda83979fee70fcabdaf151
parent5f564b8f5655167ef3837eb104207705593276dc
tree-vrp.c (find_case_label_ranges): New function.

2012-08-01  Tom de Vries  <tom@codesourcery.com>

* tree-vrp.c (find_case_label_ranges): New function.
(vrp_visit_switch_stmt, simplify_switch_using_ranges): Use
find_case_label_ranges instead of find_case_label_range.  Handle second
range.

From-SVN: r190043
gcc/ChangeLog
gcc/tree-vrp.c