Skip to content

Commit a8051a6

Browse files
Ignore more failing ui tests for GCC backend
1 parent 66b7ed5 commit a8051a6

File tree

221 files changed

+1332
-1233
lines changed

Some content is hidden

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

221 files changed

+1332
-1233
lines changed

tests/ui/abi/arm-unadjusted-intrinsic.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
//@ revisions: aarch64
77
//@[aarch64] compile-flags: --target aarch64-unknown-linux-gnu
88
//@[aarch64] needs-llvm-components: aarch64
9+
//@ ignore-backends: gcc
910
#![feature(
1011
no_core, lang_items, link_llvm_intrinsics,
1112
abi_unadjusted, repr_simd, arm_target_feature,

tests/ui/abi/c-zst.aarch64-darwin.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
6060
conv: C,
6161
can_unwind: false,
6262
}
63-
--> $DIR/c-zst.rs:64:1
63+
--> $DIR/c-zst.rs:65:1
6464
|
6565
LL | extern "C" fn pass_zst(_: ()) {}
6666
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/ui/abi/c-zst.powerpc-linux.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
7171
conv: C,
7272
can_unwind: false,
7373
}
74-
--> $DIR/c-zst.rs:64:1
74+
--> $DIR/c-zst.rs:65:1
7575
|
7676
LL | extern "C" fn pass_zst(_: ()) {}
7777
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/ui/abi/c-zst.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ extern "C" fn(i32, (), i32);
5151
//@ revisions: x86_64-pc-windows-gnu
5252
//@[x86_64-pc-windows-gnu] compile-flags: --target x86_64-pc-windows-gnu
5353
//@[x86_64-pc-windows-gnu] needs-llvm-components: x86
54+
//@ ignore-backends: gcc
5455

5556

5657
#![feature(no_core, rustc_attrs)]

tests/ui/abi/c-zst.s390x-linux.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
7171
conv: C,
7272
can_unwind: false,
7373
}
74-
--> $DIR/c-zst.rs:64:1
74+
--> $DIR/c-zst.rs:65:1
7575
|
7676
LL | extern "C" fn pass_zst(_: ()) {}
7777
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/ui/abi/c-zst.sparc64-linux.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
7171
conv: C,
7272
can_unwind: false,
7373
}
74-
--> $DIR/c-zst.rs:64:1
74+
--> $DIR/c-zst.rs:65:1
7575
|
7676
LL | extern "C" fn pass_zst(_: ()) {}
7777
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/ui/abi/c-zst.x86_64-linux.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
6060
conv: C,
6161
can_unwind: false,
6262
}
63-
--> $DIR/c-zst.rs:64:1
63+
--> $DIR/c-zst.rs:65:1
6464
|
6565
LL | extern "C" fn pass_zst(_: ()) {}
6666
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/ui/abi/c-zst.x86_64-pc-windows-gnu.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ error: fn_abi_of(pass_zst) = FnAbi {
7171
conv: C,
7272
can_unwind: false,
7373
}
74-
--> $DIR/c-zst.rs:64:1
74+
--> $DIR/c-zst.rs:65:1
7575
|
7676
LL | extern "C" fn pass_zst(_: ()) {}
7777
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/ui/abi/cannot-be-called.avr.stderr

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,71 @@
11
error[E0570]: "msp430-interrupt" is not a supported ABI for the current target
2-
--> $DIR/cannot-be-called.rs:37:8
2+
--> $DIR/cannot-be-called.rs:38:8
33
|
44
LL | extern "msp430-interrupt" fn msp430() {}
55
| ^^^^^^^^^^^^^^^^^^
66

77
error[E0570]: "riscv-interrupt-m" is not a supported ABI for the current target
8-
--> $DIR/cannot-be-called.rs:41:8
8+
--> $DIR/cannot-be-called.rs:42:8
99
|
1010
LL | extern "riscv-interrupt-m" fn riscv_m() {}
1111
| ^^^^^^^^^^^^^^^^^^^
1212

1313
error[E0570]: "riscv-interrupt-s" is not a supported ABI for the current target
14-
--> $DIR/cannot-be-called.rs:43:8
14+
--> $DIR/cannot-be-called.rs:44:8
1515
|
1616
LL | extern "riscv-interrupt-s" fn riscv_s() {}
1717
| ^^^^^^^^^^^^^^^^^^^
1818

1919
error[E0570]: "x86-interrupt" is not a supported ABI for the current target
20-
--> $DIR/cannot-be-called.rs:45:8
20+
--> $DIR/cannot-be-called.rs:46:8
2121
|
2222
LL | extern "x86-interrupt" fn x86(_x: *const u8) {}
2323
| ^^^^^^^^^^^^^^^
2424

2525
error[E0570]: "msp430-interrupt" is not a supported ABI for the current target
26-
--> $DIR/cannot-be-called.rs:72:25
26+
--> $DIR/cannot-be-called.rs:73:25
2727
|
2828
LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
2929
| ^^^^^^^^^^^^^^^^^^
3030

3131
error[E0570]: "riscv-interrupt-m" is not a supported ABI for the current target
32-
--> $DIR/cannot-be-called.rs:78:26
32+
--> $DIR/cannot-be-called.rs:79:26
3333
|
3434
LL | fn riscv_m_ptr(f: extern "riscv-interrupt-m" fn()) {
3535
| ^^^^^^^^^^^^^^^^^^^
3636

3737
error[E0570]: "riscv-interrupt-s" is not a supported ABI for the current target
38-
--> $DIR/cannot-be-called.rs:84:26
38+
--> $DIR/cannot-be-called.rs:85:26
3939
|
4040
LL | fn riscv_s_ptr(f: extern "riscv-interrupt-s" fn()) {
4141
| ^^^^^^^^^^^^^^^^^^^
4242

4343
error[E0570]: "x86-interrupt" is not a supported ABI for the current target
44-
--> $DIR/cannot-be-called.rs:90:22
44+
--> $DIR/cannot-be-called.rs:91:22
4545
|
4646
LL | fn x86_ptr(f: extern "x86-interrupt" fn()) {
4747
| ^^^^^^^^^^^^^^^
4848

4949
error: functions with the "avr-interrupt" ABI cannot be called
50-
--> $DIR/cannot-be-called.rs:52:5
50+
--> $DIR/cannot-be-called.rs:53:5
5151
|
5252
LL | avr();
5353
| ^^^^^
5454
|
5555
note: an `extern "avr-interrupt"` function can only be called using inline assembly
56-
--> $DIR/cannot-be-called.rs:52:5
56+
--> $DIR/cannot-be-called.rs:53:5
5757
|
5858
LL | avr();
5959
| ^^^^^
6060

6161
error: functions with the "avr-interrupt" ABI cannot be called
62-
--> $DIR/cannot-be-called.rs:68:5
62+
--> $DIR/cannot-be-called.rs:69:5
6363
|
6464
LL | f()
6565
| ^^^
6666
|
6767
note: an `extern "avr-interrupt"` function can only be called using inline assembly
68-
--> $DIR/cannot-be-called.rs:68:5
68+
--> $DIR/cannot-be-called.rs:69:5
6969
|
7070
LL | f()
7171
| ^^^

tests/ui/abi/cannot-be-called.i686.stderr

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,71 @@
11
error[E0570]: "msp430-interrupt" is not a supported ABI for the current target
2-
--> $DIR/cannot-be-called.rs:37:8
2+
--> $DIR/cannot-be-called.rs:38:8
33
|
44
LL | extern "msp430-interrupt" fn msp430() {}
55
| ^^^^^^^^^^^^^^^^^^
66

77
error[E0570]: "avr-interrupt" is not a supported ABI for the current target
8-
--> $DIR/cannot-be-called.rs:39:8
8+
--> $DIR/cannot-be-called.rs:40:8
99
|
1010
LL | extern "avr-interrupt" fn avr() {}
1111
| ^^^^^^^^^^^^^^^
1212

1313
error[E0570]: "riscv-interrupt-m" is not a supported ABI for the current target
14-
--> $DIR/cannot-be-called.rs:41:8
14+
--> $DIR/cannot-be-called.rs:42:8
1515
|
1616
LL | extern "riscv-interrupt-m" fn riscv_m() {}
1717
| ^^^^^^^^^^^^^^^^^^^
1818

1919
error[E0570]: "riscv-interrupt-s" is not a supported ABI for the current target
20-
--> $DIR/cannot-be-called.rs:43:8
20+
--> $DIR/cannot-be-called.rs:44:8
2121
|
2222
LL | extern "riscv-interrupt-s" fn riscv_s() {}
2323
| ^^^^^^^^^^^^^^^^^^^
2424

2525
error[E0570]: "avr-interrupt" is not a supported ABI for the current target
26-
--> $DIR/cannot-be-called.rs:66:22
26+
--> $DIR/cannot-be-called.rs:67:22
2727
|
2828
LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
2929
| ^^^^^^^^^^^^^^^
3030

3131
error[E0570]: "msp430-interrupt" is not a supported ABI for the current target
32-
--> $DIR/cannot-be-called.rs:72:25
32+
--> $DIR/cannot-be-called.rs:73:25
3333
|
3434
LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
3535
| ^^^^^^^^^^^^^^^^^^
3636

3737
error[E0570]: "riscv-interrupt-m" is not a supported ABI for the current target
38-
--> $DIR/cannot-be-called.rs:78:26
38+
--> $DIR/cannot-be-called.rs:79:26
3939
|
4040
LL | fn riscv_m_ptr(f: extern "riscv-interrupt-m" fn()) {
4141
| ^^^^^^^^^^^^^^^^^^^
4242

4343
error[E0570]: "riscv-interrupt-s" is not a supported ABI for the current target
44-
--> $DIR/cannot-be-called.rs:84:26
44+
--> $DIR/cannot-be-called.rs:85:26
4545
|
4646
LL | fn riscv_s_ptr(f: extern "riscv-interrupt-s" fn()) {
4747
| ^^^^^^^^^^^^^^^^^^^
4848

4949
error: functions with the "x86-interrupt" ABI cannot be called
50-
--> $DIR/cannot-be-called.rs:60:5
50+
--> $DIR/cannot-be-called.rs:61:5
5151
|
5252
LL | x86(&raw const BYTE);
5353
| ^^^^^^^^^^^^^^^^^^^^
5454
|
5555
note: an `extern "x86-interrupt"` function can only be called using inline assembly
56-
--> $DIR/cannot-be-called.rs:60:5
56+
--> $DIR/cannot-be-called.rs:61:5
5757
|
5858
LL | x86(&raw const BYTE);
5959
| ^^^^^^^^^^^^^^^^^^^^
6060

6161
error: functions with the "x86-interrupt" ABI cannot be called
62-
--> $DIR/cannot-be-called.rs:92:5
62+
--> $DIR/cannot-be-called.rs:93:5
6363
|
6464
LL | f()
6565
| ^^^
6666
|
6767
note: an `extern "x86-interrupt"` function can only be called using inline assembly
68-
--> $DIR/cannot-be-called.rs:92:5
68+
--> $DIR/cannot-be-called.rs:93:5
6969
|
7070
LL | f()
7171
| ^^^

0 commit comments

Comments
 (0)