Commit 5f86851
committed
C front-end: hide our use of single-bit bool within sizeof
In C, Boolean operations are of type int. Rejecting sizeof expressions
of Boolean operations breaks building the Linux kernel.1 parent 276b8d7 commit 5f86851
File tree
2 files changed
+9
-2
lines changed- regression/ansi-c/sizeof4
- src/ansi-c
2 files changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
950 | 950 | | |
951 | 951 | | |
952 | 952 | | |
953 | | - | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
954 | 961 | | |
955 | 962 | | |
956 | 963 | | |
| |||
0 commit comments