tree-switch-conversion.c
28.6 KB
-
re PR testsuite/48809 (switch statement optimization error) · edb9b69e
PR tree-optimization/48809 * tree-switch-conversion.c (build_arrays): Compute tidx in unsigned type. (gen_inbound_check): Don't compute index_expr - range_min in utype again, instead reuse SSA_NAME initialized in build_arrays. Remove two useless gsi_for_stmt calls. * gcc.c-torture/execute/pr48809.c: New test. From-SVN: r173207
Jakub Jelinek committed