aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2017-02-23 11:21:10 +0100
committerJan Beulich <jbeulich@suse.com>2017-02-23 11:21:10 +0100
commit946416fc5a466321581407a5b28989e194bd5acb (patch)
treecdc10ffb3d6daa4b9ff3520cf3c977bbc06cebbe /gas
parent53c4d625d70138fb5b75f0e2ebae8ff363ed3d46 (diff)
downloadgdb-946416fc5a466321581407a5b28989e194bd5acb.zip
gdb-946416fc5a466321581407a5b28989e194bd5acb.tar.gz
gdb-946416fc5a466321581407a5b28989e194bd5acb.tar.bz2
gas: slightly relax .startof.()/.sizeof.() testcase
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog7
-rw-r--r--gas/testsuite/gas/all/err-sizeof.s7
2 files changed, 8 insertions, 6 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index c306584..bf3e038 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,4 +1,9 @@
-2017-02-21 Jan Beulich <jbeulich@suse.com>
+2017-02-23 Jan Beulich <jbeulich@suse.com>
+
+ * testsuite/gas/all/err-sizeof.s: Don't use sums or differences
+ of symbols as expression.
+
+2017-02-23 Jan Beulich <jbeulich@suse.com>
* gas/testsuite/gas/i386/x86-64-mpx-inval-2.d: Add 32- and 16-
bit GPR forms of BNDCL, BNDCU, and BNDCN. Add RSP-as-index
diff --git a/gas/testsuite/gas/all/err-sizeof.s b/gas/testsuite/gas/all/err-sizeof.s
index 457856b..a70cd19 100644
--- a/gas/testsuite/gas/all/err-sizeof.s
+++ b/gas/testsuite/gas/all/err-sizeof.s
@@ -2,8 +2,8 @@
;# { dg-do assemble }
.long .sizeof.(a b) ;# { dg-error "Error: syntax error" }
.long .startof.(x y) ;# { dg-error "Error: syntax error" }
- .long .sizeof.(a+b) ;# { dg-error "Error: syntax error" }
- .long .startof.(x-y) ;# { dg-error "Error: syntax error" }
+ .long .sizeof.(a+1) ;# { dg-error "Error: syntax error" }
+ .long .startof.(x-1) ;# { dg-error "Error: syntax error" }
.long .sizeof.("a+b")
.long .startof.("x-y")
.long .sizeof.() ;# { dg-error "Error: expected symbol name" }
@@ -13,9 +13,6 @@
;# { dg-error "junk at end" "" { target *-*-* } 3 }
;# { dg-error "junk at end" "junk" { target *-*-* } 4 }
;# { dg-error "junk at end" "junk" { target *-*-* } 5 }
-;# { dg-error "UND" "undefined" { target *-*-* } 5 }
;# { dg-error "junk at end" "junk" { target *-*-* } 6 }
-;# { dg-error "UND" "undefined" { target *-*-* } 6 }
-;# { dg-error "too complex" "too complex" { target powerpc*-*-* cris*-*-* } 6 }
;# { dg-warning "zero assumed" "missing" { target *-*-* } 9 }
;# { dg-warning "zero assumed" "missing" { target *-*-* } 10 }