diff options
| author | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2020-05-16 13:42:41 -0700 |
|---|---|---|
| committer | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2020-05-16 17:15:24 -0700 |
| commit | 8c710118f631af9b075bbc2e24c4a61fd901a130 (patch) | |
| tree | c2a8a2281a83fb00845e36ca4083a18c9eccbed8 /src/test/codegen/align-struct.rs | |
| parent | b19d5c05929bc4ead9b127b8e28aa6c7a40119da (diff) | |
| download | rust-8c710118f631af9b075bbc2e24c4a61fd901a130.tar.gz rust-8c710118f631af9b075bbc2e24c4a61fd901a130.zip | |
Disable MIR optimization for alignment codegen tests
NRVO optimizes away the locals whose alignment is tested. I don't think this affects the purpose of the test.
Diffstat (limited to 'src/test/codegen/align-struct.rs')
| -rw-r--r-- | src/test/codegen/align-struct.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/codegen/align-struct.rs b/src/test/codegen/align-struct.rs index 5e290323907..cda7235a3d8 100644 --- a/src/test/codegen/align-struct.rs +++ b/src/test/codegen/align-struct.rs @@ -1,4 +1,4 @@ -// compile-flags: -C no-prepopulate-passes +// compile-flags: -C no-prepopulate-passes -Z mir-opt-level=0 // ignore-tidy-linelength #![crate_type = "lib"] |
