Skip to content

Commit a535c7b

Browse files
Ignore more failing ui tests for GCC backend
1 parent 5b9007b commit a535c7b

File tree

186 files changed

+440
-297
lines changed

Some content is hidden

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

186 files changed

+440
-297
lines changed

tests/ui/array-slice-vec/box-of-array-of-drop-1.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
//@ run-pass
22
//@ needs-unwind
33
//@ needs-threads
4+
//@ ignore-backends: gcc
45

56
#![allow(overflowing_literals)]
67

tests/ui/array-slice-vec/box-of-array-of-drop-2.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
//@ run-pass
22
//@ needs-unwind
33
//@ needs-threads
4+
//@ ignore-backends: gcc
45

56
#![allow(overflowing_literals)]
67

tests/ui/array-slice-vec/nested-vec-3.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
//@ run-pass
22
//@ needs-unwind
33
//@ needs-threads
4+
//@ ignore-backends: gcc
45

56
#![allow(overflowing_literals)]
67

tests/ui/array-slice-vec/slice-panic-1.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
//@ run-pass
22
//@ needs-unwind
33
//@ needs-threads
4+
//@ ignore-backends: gcc
45

56
// Test that if a slicing expr[..] fails, the correct cleanups happen.
67

tests/ui/array-slice-vec/slice-panic-2.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
//@ run-pass
22
//@ needs-unwind
33
//@ needs-threads
4+
//@ ignore-backends: gcc
45

56
// Test that if a slicing expr[..] fails, the correct cleanups happen.
67

tests/ui/asm/global-asm-isnt-really-a-mir-body.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
//@ build-pass
2020
//@ needs-asm-support
21+
//@ ignore-backends: gcc
2122

2223
use std::arch::global_asm;
2324

tests/ui/asm/x86_64/goto.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
//@ only-x86_64
22
//@ run-pass
33
//@ needs-asm-support
4+
//@ ignore-backends: gcc
45

56
#![deny(unreachable_code)]
67
#![feature(asm_goto_with_outputs)]

tests/ui/asm/x86_64/goto.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
warning: unreachable statement
2-
--> $DIR/goto.rs:143:9
2+
--> $DIR/goto.rs:144:9
33
|
44
LL | / asm!(
55
LL | | "jmp {}",
@@ -13,7 +13,7 @@ LL | unreachable!();
1313
| ^^^^^^^^^^^^^^ unreachable statement
1414
|
1515
note: the lint level is defined here
16-
--> $DIR/goto.rs:133:8
16+
--> $DIR/goto.rs:134:8
1717
|
1818
LL | #[warn(unreachable_code)]
1919
| ^^^^^^^^^^^^^^^^

tests/ui/asm/x86_64/srcloc.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
//@ only-x86_64
22
//@ build-fail
33
//@ compile-flags: -Ccodegen-units=1
4+
//@ ignore-backends: gcc
45

56
use std::arch::asm;
67

tests/ui/asm/x86_64/srcloc.stderr

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: invalid instruction mnemonic 'invalid_instruction'
2-
--> $DIR/srcloc.rs:11:15
2+
--> $DIR/srcloc.rs:12:15
33
|
44
LL | asm!("invalid_instruction");
55
| ^^^^^^^^^^^^^^^^^^^
@@ -11,7 +11,7 @@ LL | invalid_instruction
1111
| ^^^^^^^^^^^^^^^^^^^
1212

1313
error: invalid instruction mnemonic 'invalid_instruction'
14-
--> $DIR/srcloc.rs:15:13
14+
--> $DIR/srcloc.rs:16:13
1515
|
1616
LL | invalid_instruction
1717
| ^^^^^^^^^^^^^^^^^^^
@@ -23,7 +23,7 @@ LL | invalid_instruction
2323
| ^^^^^^^^^^^^^^^^^^^
2424

2525
error: invalid instruction mnemonic 'invalid_instruction'
26-
--> $DIR/srcloc.rs:20:13
26+
--> $DIR/srcloc.rs:21:13
2727
|
2828
LL | invalid_instruction
2929
| ^^^^^^^^^^^^^^^^^^^
@@ -35,7 +35,7 @@ LL | invalid_instruction
3535
| ^^^^^^^^^^^^^^^^^^^
3636

3737
error: invalid instruction mnemonic 'invalid_instruction'
38-
--> $DIR/srcloc.rs:26:13
38+
--> $DIR/srcloc.rs:27:13
3939
|
4040
LL | invalid_instruction
4141
| ^^^^^^^^^^^^^^^^^^^
@@ -47,7 +47,7 @@ LL | invalid_instruction
4747
| ^^^^^^^^^^^^^^^^^^^
4848

4949
error: invalid instruction mnemonic 'invalid_instruction'
50-
--> $DIR/srcloc.rs:33:13
50+
--> $DIR/srcloc.rs:34:13
5151
|
5252
LL | invalid_instruction
5353
| ^^^^^^^^^^^^^^^^^^^
@@ -59,7 +59,7 @@ LL | invalid_instruction
5959
| ^^^^^^^^^^^^^^^^^^^
6060

6161
error: invalid instruction mnemonic 'invalid_instruction'
62-
--> $DIR/srcloc.rs:38:14
62+
--> $DIR/srcloc.rs:39:14
6363
|
6464
LL | asm!(concat!("invalid", "_", "instruction"));
6565
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -71,7 +71,7 @@ LL | invalid_instruction
7171
| ^^^^^^^^^^^^^^^^^^^
7272

7373
warning: scale factor without index register is ignored
74-
--> $DIR/srcloc.rs:41:15
74+
--> $DIR/srcloc.rs:42:15
7575
|
7676
LL | asm!("movaps %xmm3, (%esi, 2)", options(att_syntax));
7777
| ^^^^^^^^^^^^^^^^^^^^^^^
@@ -83,7 +83,7 @@ LL | movaps %xmm3, (%esi, 2)
8383
| ^
8484

8585
error: invalid instruction mnemonic 'invalid_instruction'
86-
--> $DIR/srcloc.rs:45:14
86+
--> $DIR/srcloc.rs:46:14
8787
|
8888
LL | "invalid_instruction",
8989
| ^^^^^^^^^^^^^^^^^^^
@@ -95,7 +95,7 @@ LL | invalid_instruction
9595
| ^^^^^^^^^^^^^^^^^^^
9696

9797
error: invalid instruction mnemonic 'invalid_instruction'
98-
--> $DIR/srcloc.rs:51:14
98+
--> $DIR/srcloc.rs:52:14
9999
|
100100
LL | "invalid_instruction",
101101
| ^^^^^^^^^^^^^^^^^^^
@@ -107,7 +107,7 @@ LL | invalid_instruction
107107
| ^^^^^^^^^^^^^^^^^^^
108108

109109
error: invalid instruction mnemonic 'invalid_instruction'
110-
--> $DIR/srcloc.rs:58:14
110+
--> $DIR/srcloc.rs:59:14
111111
|
112112
LL | "invalid_instruction",
113113
| ^^^^^^^^^^^^^^^^^^^
@@ -119,7 +119,7 @@ LL | invalid_instruction
119119
| ^^^^^^^^^^^^^^^^^^^
120120

121121
error: invalid instruction mnemonic 'invalid_instruction'
122-
--> $DIR/srcloc.rs:65:13
122+
--> $DIR/srcloc.rs:66:13
123123
|
124124
LL | concat!("invalid", "_", "instruction"),
125125
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -131,7 +131,7 @@ LL | invalid_instruction
131131
| ^^^^^^^^^^^^^^^^^^^
132132

133133
error: invalid instruction mnemonic 'invalid_instruction'
134-
--> $DIR/srcloc.rs:72:13
134+
--> $DIR/srcloc.rs:73:13
135135
|
136136
LL | concat!("invalid", "_", "instruction"),
137137
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -143,7 +143,7 @@ LL | invalid_instruction
143143
| ^^^^^^^^^^^^^^^^^^^
144144

145145
error: invalid instruction mnemonic 'invalid_instruction1'
146-
--> $DIR/srcloc.rs:79:14
146+
--> $DIR/srcloc.rs:80:14
147147
|
148148
LL | "invalid_instruction1",
149149
| ^^^^^^^^^^^^^^^^^^^^
@@ -155,7 +155,7 @@ LL | invalid_instruction1
155155
| ^^^^^^^^^^^^^^^^^^^^
156156

157157
error: invalid instruction mnemonic 'invalid_instruction2'
158-
--> $DIR/srcloc.rs:80:14
158+
--> $DIR/srcloc.rs:81:14
159159
|
160160
LL | "invalid_instruction2",
161161
| ^^^^^^^^^^^^^^^^^^^^
@@ -167,7 +167,7 @@ LL | invalid_instruction2
167167
| ^^^^^^^^^^^^^^^^^^^^
168168

169169
error: invalid instruction mnemonic 'invalid_instruction1'
170-
--> $DIR/srcloc.rs:86:13
170+
--> $DIR/srcloc.rs:87:13
171171
|
172172
LL | / concat!(
173173
LL | | "invalid", "_", "instruction1", "\n",
@@ -182,7 +182,7 @@ LL | invalid_instruction1
182182
| ^^^^^^^^^^^^^^^^^^^^
183183

184184
error: invalid instruction mnemonic 'invalid_instruction2'
185-
--> $DIR/srcloc.rs:86:13
185+
--> $DIR/srcloc.rs:87:13
186186
|
187187
LL | / concat!(
188188
LL | | "invalid", "_", "instruction1", "\n",
@@ -197,7 +197,7 @@ LL | invalid_instruction2
197197
| ^^^^^^^^^^^^^^^^^^^^
198198

199199
error: invalid instruction mnemonic 'invalid_instruction1'
200-
--> $DIR/srcloc.rs:95:13
200+
--> $DIR/srcloc.rs:96:13
201201
|
202202
LL | / concat!(
203203
LL | | "invalid", "_", "instruction1", "\n",
@@ -212,7 +212,7 @@ LL | invalid_instruction1
212212
| ^^^^^^^^^^^^^^^^^^^^
213213

214214
error: invalid instruction mnemonic 'invalid_instruction2'
215-
--> $DIR/srcloc.rs:95:13
215+
--> $DIR/srcloc.rs:96:13
216216
|
217217
LL | / concat!(
218218
LL | | "invalid", "_", "instruction1", "\n",
@@ -227,7 +227,7 @@ LL | invalid_instruction2
227227
| ^^^^^^^^^^^^^^^^^^^^
228228

229229
error: invalid instruction mnemonic 'invalid_instruction3'
230-
--> $DIR/srcloc.rs:99:13
230+
--> $DIR/srcloc.rs:100:13
231231
|
232232
LL | / concat!(
233233
LL | | "invalid", "_", "instruction3", "\n",
@@ -242,7 +242,7 @@ LL | invalid_instruction3
242242
| ^^^^^^^^^^^^^^^^^^^^
243243

244244
error: invalid instruction mnemonic 'invalid_instruction4'
245-
--> $DIR/srcloc.rs:99:13
245+
--> $DIR/srcloc.rs:100:13
246246
|
247247
LL | / concat!(
248248
LL | | "invalid", "_", "instruction3", "\n",
@@ -257,7 +257,7 @@ LL | invalid_instruction4
257257
| ^^^^^^^^^^^^^^^^^^^^
258258

259259
error: invalid instruction mnemonic 'invalid_instruction1'
260-
--> $DIR/srcloc.rs:110:13
260+
--> $DIR/srcloc.rs:111:13
261261
|
262262
LL | / concat!(
263263
LL | | "invalid", "_", "instruction1", "\n",
@@ -272,7 +272,7 @@ LL | invalid_instruction1
272272
| ^^^^^^^^^^^^^^^^^^^^
273273

274274
error: invalid instruction mnemonic 'invalid_instruction2'
275-
--> $DIR/srcloc.rs:110:13
275+
--> $DIR/srcloc.rs:111:13
276276
|
277277
LL | / concat!(
278278
LL | | "invalid", "_", "instruction1", "\n",
@@ -287,7 +287,7 @@ LL | invalid_instruction2
287287
| ^^^^^^^^^^^^^^^^^^^^
288288

289289
error: invalid instruction mnemonic 'invalid_instruction3'
290-
--> $DIR/srcloc.rs:114:13
290+
--> $DIR/srcloc.rs:115:13
291291
|
292292
LL | / concat!(
293293
LL | | "invalid", "_", "instruction3", "\n",
@@ -302,7 +302,7 @@ LL | invalid_instruction3
302302
| ^^^^^^^^^^^^^^^^^^^^
303303

304304
error: invalid instruction mnemonic 'invalid_instruction4'
305-
--> $DIR/srcloc.rs:114:13
305+
--> $DIR/srcloc.rs:115:13
306306
|
307307
LL | / concat!(
308308
LL | | "invalid", "_", "instruction3", "\n",
@@ -317,7 +317,7 @@ LL | invalid_instruction4
317317
| ^^^^^^^^^^^^^^^^^^^^
318318

319319
error: invalid instruction mnemonic 'invalid_instruction'
320-
--> $DIR/srcloc.rs:127:14
320+
--> $DIR/srcloc.rs:128:14
321321
|
322322
LL | "invalid_instruction"
323323
| ^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)