projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85a961c
)
add trailing newline
author
Ken Raeburn
<raeburn@cygnus>
Thu, 6 Jul 1995 20:48:16 +0000
(20:48 +0000)
committer
Ken Raeburn
<raeburn@cygnus>
Thu, 6 Jul 1995 20:48:16 +0000
(20:48 +0000)
gas/testsuite/gas/arc/warn.s
[new file with mode: 0644]
patch
|
blob
diff --git a/gas/testsuite/gas/arc/warn.s
b/gas/testsuite/gas/arc/warn.s
new file mode 100644
(file)
index 0000000..
6fcb437
--- /dev/null
+++ b/
gas/testsuite/gas/arc/warn.s
@@ -0,0
+1,14
@@
+; Test ARC specific assembler warnings
+;
+; { dg-do assemble { target arc-*-* } }
+
+ b.d foo
+ mov r0,256 ; { dg-warning "8 byte instruction in delay slot" "8 byte insn in delay slot" }
+
+ j.d foo ; { dg-warning "8 byte jump instruction with delay slot" "8 byte jump with delay slot" }
+ mov r0,r1
+
+ sub.f 0,r0,r2
+ beq foo ; { dg-warning "conditional branch follows set of flags" "cc set/branch nop test" }
+
+foo: