Unified · Split
| @@ -4881,8 +4881,12 @@ static void label_or_decl(int l) · 4880 unmodified lines | ||
| 4881 | 4881 | decl(l); |
| 4882 | 4882 | } |
| 4883 | 4883 | |
| 4884 | −static int case_cmp(const void *a, const void *b) | |
| 4885 | −{ return (*(struct case_t**) a)->v1 - (*(struct case_t**) b)->v1; } | |
| 4884 | +static int case_cmp(const void *pa, const void *pb) | |
| 4885 | +{ | |
| 4886 | + int a = (*(struct case_t**) pa)->v1; | |
| 4887 | + int b = (*(struct case_t**) pb)->v1; | |
| 4888 | + return a < b ? -1 : a > b; | |
| 4889 | +} | |
| 4886 | 4890 | |
| 4887 | 4891 | static void block(int *bsym, int *csym, int is_expr) |
| 4888 | 4892 | { |
| @@ -1554,6 +1554,9 @@ void switch_test() · 1553 unmodified lines | ||
| 1554 | 1554 | case 3: |
| 1555 | 1555 | printf("b"); |
| 1556 | 1556 | break; |
| 1557 | + case 0xc33c6b9fU: | |
| 1558 | + case 0x7c9eeeb9U: | |
| 1559 | + break; | |
| 1557 | 1560 | } |
| 1558 | 1561 | } |
| 1559 | 1562 | printf("\n"); |