diff options
author | Claudiu Zissulescu <claziss@gmail.com> | 2023-10-05 14:30:52 +0300 |
---|---|---|
committer | Claudiu Zissulescu <claziss@gmail.com> | 2023-10-05 14:42:50 +0300 |
commit | 92cf0cf0856459bc980da96fd9c52b00857fa477 (patch) | |
tree | ded0f4fbb8b7241a7a9e0c0785ccaa4a8b79ecdc /gcc | |
parent | 1daa0db2f1b5b1ee4aa4b04d1b0005bb8516a0e2 (diff) | |
download | gcc-92cf0cf0856459bc980da96fd9c52b00857fa477.zip gcc-92cf0cf0856459bc980da96fd9c52b00857fa477.tar.gz gcc-92cf0cf0856459bc980da96fd9c52b00857fa477.tar.bz2 |
arc: Update tests predicates when using linux toolchain.
gcc/testsuite:
* gcc.target/arc/enter-dw2-1.c: Remove tests when using linux
build.
* gcc.target/arc/tls-ld.c: Update test.
* gcc.target/arc/tls-le.c: Likewise.
Signed-off-by: Claudiu Zissulescu <claziss@gmail.com>
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.target/arc/enter-dw2-1.c | 18 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/arc/tls-ld.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/arc/tls-le.c | 2 |
3 files changed, 11 insertions, 12 deletions
diff --git a/gcc/testsuite/gcc.target/arc/enter-dw2-1.c b/gcc/testsuite/gcc.target/arc/enter-dw2-1.c index 25d0356..653ea72 100644 --- a/gcc/testsuite/gcc.target/arc/enter-dw2-1.c +++ b/gcc/testsuite/gcc.target/arc/enter-dw2-1.c @@ -16,13 +16,13 @@ void foo (void) } -/* { dg-final { scan-assembler-times "enter_s" 1 } } */ +/* { dg-final { scan-assembler-times "enter_s" 1 {xfail *-linux-* } } } */ /* { dg-final { scan-assembler-times "\.cfi_def_cfa_offset 32" 1 } } */ -/* { dg-final { scan-assembler-times "\.cfi_offset 31, -32" 1 } } */ -/* { dg-final { scan-assembler-times "\.cfi_offset 13, -28" 1 } } */ -/* { dg-final { scan-assembler-times "\.cfi_offset 14, -24" 1 } } */ -/* { dg-final { scan-assembler-times "\.cfi_offset 15, -20" 1 } } */ -/* { dg-final { scan-assembler-times "\.cfi_offset 16, -16" 1 } } */ -/* { dg-final { scan-assembler-times "\.cfi_offset 17, -12" 1 } } */ -/* { dg-final { scan-assembler-times "\.cfi_offset 18, -8" 1 } } */ -/* { dg-final { scan-assembler-times "\.cfi_offset 19, -4" 1 } } */ +/* { dg-final { scan-assembler-times "\.cfi_offset 31, -32" 1 {xfail *-linux-* } } } */ +/* { dg-final { scan-assembler-times "\.cfi_offset 13, -28" 1 {xfail *-linux-* } } } */ +/* { dg-final { scan-assembler-times "\.cfi_offset 14, -24" 1 {xfail *-linux-* } } } */ +/* { dg-final { scan-assembler-times "\.cfi_offset 15, -20" 1 {xfail *-linux-* } } } */ +/* { dg-final { scan-assembler-times "\.cfi_offset 16, -16" 1 {xfail *-linux-* } } } */ +/* { dg-final { scan-assembler-times "\.cfi_offset 17, -12" 1 {xfail *-linux-* } } } */ +/* { dg-final { scan-assembler-times "\.cfi_offset 18, -8" 1 {xfail *-linux-* } } } */ +/* { dg-final { scan-assembler-times "\.cfi_offset 19, -4" 1 {xfail *-linux-* } } } */ diff --git a/gcc/testsuite/gcc.target/arc/tls-ld.c b/gcc/testsuite/gcc.target/arc/tls-ld.c index 68ab9bf..47c71f5 100644 --- a/gcc/testsuite/gcc.target/arc/tls-ld.c +++ b/gcc/testsuite/gcc.target/arc/tls-ld.c @@ -13,6 +13,5 @@ int *ae2 (void) return &e2; } -/* { dg-final { scan-assembler "add\\s+r0,pcl,@.tbss@tlsgd" } } */ +/* { dg-final { scan-assembler "add\\s+r0,pcl,@e2@tlsgd" } } */ /* { dg-final { scan-assembler "bl\\s+@__tls_get_addr@plt" } } */ -/* { dg-final { scan-assembler "add_s\\s+r0,r0,@e2@dtpoff" } } */ diff --git a/gcc/testsuite/gcc.target/arc/tls-le.c b/gcc/testsuite/gcc.target/arc/tls-le.c index ae3089b..6deca1a 100644 --- a/gcc/testsuite/gcc.target/arc/tls-le.c +++ b/gcc/testsuite/gcc.target/arc/tls-le.c @@ -13,4 +13,4 @@ int *ae2 (void) return &e2; } -/* { dg-final { scan-assembler "add r0,r25,@e2@tpoff" } } */ +/* { dg-final { scan-assembler "add\\sr0,r25,@e2@tpoff" } } */ |