Commit db0c363
committed
Fix typechecking of relational expressions over vectors
As specified in GCC's documentation, the result type is a vector of
signed integers of the same width as the operand subtypes. As the
semantics are different from relational expressions over scalars,
introduce a different expression id: each operation is now prefixed with
vector-.1 parent 5acadac commit db0c363
File tree
3 files changed
+23
-14
lines changed- src
- ansi-c
- util
3 files changed
+23
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1417 | 1417 | | |
1418 | 1418 | | |
1419 | 1419 | | |
1420 | | - | |
1421 | | - | |
| 1420 | + | |
1422 | 1421 | | |
1423 | | - | |
1424 | | - | |
| 1422 | + | |
| 1423 | + | |
1425 | 1424 | | |
1426 | | - | |
1427 | | - | |
1428 | | - | |
1429 | | - | |
1430 | | - | |
1431 | | - | |
| 1425 | + | |
1432 | 1426 | | |
1433 | 1427 | | |
1434 | 1428 | | |
| |||
1437 | 1431 | | |
1438 | 1432 | | |
1439 | 1433 | | |
1440 | | - | |
1441 | | - | |
1442 | | - | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
1443 | 1446 | | |
1444 | 1447 | | |
1445 | 1448 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
843 | 843 | | |
844 | 844 | | |
845 | 845 | | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
846 | 852 | | |
847 | 853 | | |
848 | 854 | | |
| |||
0 commit comments