diff options
| author | bors <bors@rust-lang.org> | 2022-03-31 10:33:56 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-03-31 10:33:56 +0000 |
| commit | df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e (patch) | |
| tree | 0524050d132dafc2ce53626125011a0287ea3699 /compiler/rustc_codegen_gcc | |
| parent | e730969b0d433d66d4f1c0bbd9ff70050c274ad5 (diff) | |
| parent | 2799885ed03708eea1ec372339317bd97e5c5601 (diff) | |
| download | rust-df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e.tar.gz rust-df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e.zip | |
Auto merge of #95456 - RalfJung:size, r=oli-obk
allow large Size again
This basically reverts most of https://github.com/rust-lang/rust/pull/80042, and instead does the panic in `bits()` with a `#[cold]` function to make sure it does not get inlined.
https://github.com/rust-lang/rust/pull/80042 added a comment about an invariant ("The top 3 bits are ALWAYS zero") that is not actually enforced, and if it were enforced that would be a problem for https://github.com/rust-lang/rust/pull/95388. So I think we should not have that invariant, and I adjusted the code accordingly.
r? `@oli-obk` Cc `@sivadeilra`
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
