* gas/m32r/error.exp: Run it.
PR 19044
start-sanitize-m32rx
+Thu Feb 4 14:13:32 1999 Doug Evans <devans@canuck.cygnus.com>
+
+ * gas/m32r/outofrange.s: New testcase.
+ * gas/m32r/error.exp: Run it.
+
1999-01-06 Doug Evans <devans@casey.cygnus.com>
* gas/m32r/interfere.s: New testcase.
--- /dev/null
+; Test error messages where branches are out of range.
+
+; { dg-do assemble { target m32r-*-* } }
+
+ .text
+ .global foo
+foo:
+ bl.s label
+ ; { dg-error "out of range" "out of range bl.s" { target *-*-* } { 8 } }
+ bnc.s label
+ ; { dg-error "out of range" "out of range bnc.s" { target *-*-* } { 10 } }
+ bra.s label
+ ; { dg-error "out of range" "out of range bra.s" { target *-*-* } { 12 } }
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,#0
+ ld24 r0,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