Commit dbe6455
committed
Dump-C: do not produce c_bit_field declarations
goto-program conversion may introduce temporaries of c_bit_field type.
These, however, are not permitted outside structs in C. Instead, change
their types to their underlying types and use a bit mask to fix up
initial values.1 parent 2e0fcc8 commit dbe6455
1 file changed
+14
-0
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 | | |
| |||
1435 | 1436 | | |
1436 | 1437 | | |
1437 | 1438 | | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
1438 | 1452 | | |
1439 | 1453 | | |
1440 | 1454 | | |
| |||
0 commit comments