Commit 0860ad8
committed
Auto merge of rust-lang#148259 - RalfJung:const-ptr-fragment, r=oli-obk
const-eval: fix and re-enable pointer fragment support
The pointer fragment support from rust-lang#144081 got disabled due to rust-lang#146291. This brings it back. To fix the issue, the per-byte provenance fragment tracking tracks *both* the provenance and raw address of the full pointer, so we can ensure that only fragments that are truly part of the same pointer are being merged.
r? `@oli-obk`
Cc `@theemathas`
Fixes rust-lang/const-eval#72 again.
Also fixes rust-lang#147959.
`@traviscross` I assume this won't need another t-lang FCP since it already got FCP'd in rust-lang#144081?2 files changed
+5
-42
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1352 | 1352 | | |
1353 | 1353 | | |
1354 | 1354 | | |
1355 | | - | |
1356 | | - | |
1357 | | - | |
1358 | | - | |
1359 | | - | |
1360 | | - | |
1361 | | - | |
1362 | | - | |
1363 | | - | |
1364 | | - | |
1365 | | - | |
1366 | | - | |
1367 | | - | |
1368 | | - | |
1369 | | - | |
1370 | | - | |
1371 | | - | |
1372 | | - | |
1373 | | - | |
1374 | | - | |
1375 | | - | |
1376 | | - | |
1377 | | - | |
1378 | | - | |
1379 | | - | |
1380 | | - | |
1381 | | - | |
1382 | | - | |
1383 | | - | |
1384 | | - | |
1385 | | - | |
1386 | | - | |
1387 | | - | |
1388 | | - | |
1389 | 1355 | | |
1390 | 1356 | | |
1391 | 1357 | | |
| |||
1414 | 1380 | | |
1415 | 1381 | | |
1416 | 1382 | | |
1417 | | - | |
1418 | | - | |
1419 | | - | |
| 1383 | + | |
1420 | 1384 | | |
1421 | 1385 | | |
1422 | 1386 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
945 | 945 | | |
946 | 946 | | |
947 | 947 | | |
948 | | - | |
949 | | - | |
| 948 | + | |
950 | 949 | | |
951 | 950 | | |
952 | | - | |
953 | | - | |
954 | | - | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
955 | 954 | | |
956 | 955 | | |
957 | 956 | | |
| |||
0 commit comments