Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 3c0c9b6

Browse files
tests/codegen: use -Copt-level=3 instead of -O
1 parent 4c17270 commit 3c0c9b6

File tree

233 files changed

+233
-233
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

233 files changed

+233
-233
lines changed

tests/codegen/abi-repr-ext.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ compile-flags: -O
1+
//@ compile-flags: -Copt-level=3
22

33
//@ revisions:x86_64 i686 aarch64-apple aarch64-windows aarch64-linux arm riscv
44

tests/codegen/align-offset.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ compile-flags: -O
1+
//@ compile-flags: -Copt-level=3
22

33
#![crate_type = "lib"]
44

tests/codegen/alloc-optimisation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ compile-flags: -O
1+
//@ compile-flags: -Copt-level=3
22
#![crate_type = "lib"]
33

44
#[no_mangle]

tests/codegen/array-clone.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ compile-flags: -O
1+
//@ compile-flags: -Copt-level=3
22

33
#![crate_type = "lib"]
44

tests/codegen/array-codegen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ compile-flags: -O -C no-prepopulate-passes
1+
//@ compile-flags: -Copt-level=3 -C no-prepopulate-passes
22

33
#![crate_type = "lib"]
44

tests/codegen/array-equality.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ compile-flags: -O -Z merge-functions=disabled
1+
//@ compile-flags: -Copt-level=3 -Z merge-functions=disabled
22
//@ only-x86_64
33
#![crate_type = "lib"]
44

tests/codegen/array-optimized.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ compile-flags: -O
1+
//@ compile-flags: -Copt-level=3
22

33
#![crate_type = "lib"]
44

tests/codegen/array-repeat.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ compile-flags: -O
1+
//@ compile-flags: -Copt-level=3
22

33
#![crate_type = "lib"]
44
#![feature(array_repeat)]

tests/codegen/asm/goto.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ compile-flags: -O
1+
//@ compile-flags: -Copt-level=3
22
//@ only-x86_64
33

44
#![crate_type = "rlib"]

tests/codegen/asm/may_unwind.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ compile-flags: -O
1+
//@ compile-flags: -Copt-level=3
22
//@ only-x86_64
33

44
#![crate_type = "rlib"]

0 commit comments

Comments
 (0)