aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-08-10 11:06:18 +0000
committerGitHub <noreply@github.com>2022-08-10 11:06:18 +0000
commiteca2ac2c23e0c8b438fd696d4f85e35c9210d8dd (patch)
tree2d5807c7718ccf32453f539a21990c89dd844fe9 /gcc
parent7027e5c21ae6b8cb1ea2222e55960f1587071d14 (diff)
parent50bb06ce3b990c2e282b7245b5fdcea119f6385f (diff)
downloadgcc-eca2ac2c23e0c8b438fd696d4f85e35c9210d8dd.zip
gcc-eca2ac2c23e0c8b438fd696d4f85e35c9210d8dd.tar.gz
gcc-eca2ac2c23e0c8b438fd696d4f85e35c9210d8dd.tar.bz2
Merge #1453
1453: Add in -m32,-m64 configuration to make check-rust r=philberty a=philberty This is to gate PR's which might break builds on 32bit systems. Fixes #1439 #871 Co-authored-by: Philip Herron <philip.herron@embecosm.com>
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/rust/compile/torture/issue-1432.rs1
-rw-r--r--gcc/testsuite/rust/debug/win64-abi.rs4
2 files changed, 2 insertions, 3 deletions
diff --git a/gcc/testsuite/rust/compile/torture/issue-1432.rs b/gcc/testsuite/rust/compile/torture/issue-1432.rs
index a3fa2c3..083a369 100644
--- a/gcc/testsuite/rust/compile/torture/issue-1432.rs
+++ b/gcc/testsuite/rust/compile/torture/issue-1432.rs
@@ -73,6 +73,5 @@ impl_uint!(
u16 = "u16",
u32 = "u32",
u64 = "u64",
- u128 = "u128",
usize = "usize"
);
diff --git a/gcc/testsuite/rust/debug/win64-abi.rs b/gcc/testsuite/rust/debug/win64-abi.rs
index 9d8de40..b2b08cd 100644
--- a/gcc/testsuite/rust/debug/win64-abi.rs
+++ b/gcc/testsuite/rust/debug/win64-abi.rs
@@ -1,10 +1,10 @@
+// { dg-do compile { target { x86_64-*-* } } }
+// { dg-options "-gdwarf-5 -dA -w -O1 -m64" }
pub extern "win64" fn square(num: i32) -> i32 {
num * num
}
fn main() {
- // { dg-do compile { target { x86_64-*-* } } }
- // { dg-options "-gdwarf-5 -dA -w -O1" }
// MS ABI dictates that the first argument is ecx instead of edi from the sysv world
// { dg-final { scan-assembler "%ecx, %ecx" } }
square(1);