aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimplify.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2011-05-26 12:05:05 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2011-05-26 12:05:05 +0200
commit1aa9438fdb536c081195b462c7d7be9f82004a73 (patch)
tree8bca149e3f780e52c9095bee5dec1c249b4481f0 /gcc/gimplify.c
parent0dd5327a4608ea3db17ed4af83d6b31d792c2768 (diff)
downloadgcc-1aa9438fdb536c081195b462c7d7be9f82004a73.zip
gcc-1aa9438fdb536c081195b462c7d7be9f82004a73.tar.gz
gcc-1aa9438fdb536c081195b462c7d7be9f82004a73.tar.bz2
re PR tree-optimization/49161 (Fix VRP on switch stmts)
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. From-SVN: r174270
Diffstat (limited to 'gcc/gimplify.c')
0 files changed, 0 insertions, 0 deletions