diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-05-26 10:05:05 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-05-26 10:05:05 +0000 |
commit | 8b3183486328856ccf37574ca2f87ce8773d9e18 (patch) | |
tree | 8bca149e3f780e52c9095bee5dec1c249b4481f0 /gcc/haifa-sched.c | |
parent | 0d036b6403c426aa98c01a9310d43ab5013524ea (diff) | |
download | gcc-8b3183486328856ccf37574ca2f87ce8773d9e18.tar.gz |
PR tree-optimization/49161
* tree-vrp.c (struct case_info): New type.
(compare_case_labels): Sort case_info structs instead of
trees, and not primarily by CASE_LABEL uids but by
label_for_block indexes.
(find_switch_asserts): Put case labels into struct case_info
array instead of TREE_VEC, adjust sorting, compare label_for_block
values instead of CASE_LABELs.
* gcc.c-torture/execute/pr49161.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174270 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/haifa-sched.c')
0 files changed, 0 insertions, 0 deletions