1 diff -durN gcc-4.4.0.orig/gcc/stmt.c gcc-4.4.0/gcc/stmt.c
3 diff -durN gcc-4.4.4.orig/gcc/stmt.c gcc-4.4.4/gcc/stmt.c
4 --- gcc-4.4.4.orig/gcc/stmt.c 2010-03-08 12:46:28.000000000 +0100
5 +++ gcc-4.4.4/gcc/stmt.c 2010-05-16 19:12:31.000000000 +0200
8 = (TREE_CODE (orig_type) != ENUMERAL_TYPE
9 && estimate_case_costs (case_list));
10 - balance_case_nodes (&case_list, NULL);
11 + /* When optimizing for size, we want a straight list to avoid
12 + jumps as much as possible. This basically creates an if-else
15 + balance_case_nodes (&case_list, NULL);
16 emit_case_nodes (index, case_list, default_label, index_type);
18 emit_jump (default_label);
21 if (!node_has_low_bound (node, index_type))
23 + if (!optimize_size) /* don't jl to the .default_label. */
24 emit_cmp_and_jump_insns (index,