Skip to content

Commit

Permalink
gas: slightly relax .startof.()/.sizeof.() testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Beulich authored and jbeulich committed Feb 23, 2017
1 parent 53c4d62 commit 946416f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 6 additions & 1 deletion gas/ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 2 additions & 5 deletions gas/testsuite/gas/all/err-sizeof.s
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand All @@ -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 }

0 comments on commit 946416f

Please sign in to comment.