Commit f3da348
committed
switch-case conversion: ensure case selection has source location
The expression operand was at times lacking a source location when it
had been subject to expression simplification. Fixes the root cause in
the C front-end, and makes sure the invariant is maintained during goto
conversion.1 parent 25f4436 commit f3da348
File tree
3 files changed
+23
-7
lines changed- jbmc/src/java_bytecode
- src
- ansi-c
- goto-programs
3 files changed
+23
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
127 | 129 | | |
128 | 130 | | |
129 | 131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1044 | 1044 | | |
1045 | 1045 | | |
1046 | 1046 | | |
| 1047 | + | |
1047 | 1048 | | |
1048 | | - | |
| 1049 | + | |
1049 | 1050 | | |
1050 | 1051 | | |
1051 | 1052 | | |
1052 | 1053 | | |
1053 | 1054 | | |
1054 | 1055 | | |
1055 | | - | |
| 1056 | + | |
1056 | 1057 | | |
1057 | 1058 | | |
1058 | 1059 | | |
| |||
1064 | 1065 | | |
1065 | 1066 | | |
1066 | 1067 | | |
1067 | | - | |
1068 | | - | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
1069 | 1071 | | |
1070 | 1072 | | |
1071 | 1073 | | |
| |||
4656 | 4658 | | |
4657 | 4659 | | |
4658 | 4660 | | |
| 4661 | + | |
| 4662 | + | |
4659 | 4663 | | |
4660 | 4664 | | |
4661 | 4665 | | |
| |||
4664 | 4668 | | |
4665 | 4669 | | |
4666 | 4670 | | |
| 4671 | + | |
4667 | 4672 | | |
4668 | 4673 | | |
4669 | 4674 | | |
4670 | | - | |
| 4675 | + | |
4671 | 4676 | | |
4672 | 4677 | | |
4673 | 4678 | | |
| |||
4676 | 4681 | | |
4677 | 4682 | | |
4678 | 4683 | | |
| 4684 | + | |
4679 | 4685 | | |
4680 | 4686 | | |
4681 | 4687 | | |
| 4688 | + | |
4682 | 4689 | | |
4683 | 4690 | | |
4684 | 4691 | | |
4685 | | - | |
| 4692 | + | |
4686 | 4693 | | |
4687 | 4694 | | |
4688 | 4695 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
526 | 526 | | |
527 | 527 | | |
528 | 528 | | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
529 | 536 | | |
530 | 537 | | |
531 | 538 | | |
| |||
0 commit comments