Commit 6779f39
committed
dump-c: handle further byte_update union initializers
The CSmith test generated with random seed 1614606277 demonstrated that
dump-c's handling still didn't cover all cases of byte_update expressions
introduced by the C front-end, specifically missing the case where a struct was
part of the union.1 parent 1828d43 commit 6779f39
File tree
2 files changed
+11
-3
lines changed- regression/goto-instrument/dump-union2
- src/goto-instrument
2 files changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1469 | 1469 | | |
1470 | 1470 | | |
1471 | 1471 | | |
| 1472 | + | |
1472 | 1473 | | |
1473 | 1474 | | |
1474 | | - | |
1475 | | - | |
1476 | | - | |
| 1475 | + | |
| 1476 | + | |
| 1477 | + | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
1477 | 1484 | | |
1478 | 1485 | | |
1479 | 1486 | | |
| |||
0 commit comments