diff options
author | liuhongt <hongtao.liu@intel.com> | 2025-03-16 22:28:44 -0700 |
---|---|---|
committer | liuhongt <hongtao.liu@intel.com> | 2025-03-18 18:17:47 -0700 |
commit | be671ec1f30ecd55aaff09048afb2a619018cb8a (patch) | |
tree | 434425c38791263628ae59e6db91fdcc4a4fff1b /gcc | |
parent | a03e863975c040c36215584d8600ca2468923383 (diff) | |
download | gcc-be671ec1f30ecd55aaff09048afb2a619018cb8a.zip gcc-be671ec1f30ecd55aaff09048afb2a619018cb8a.tar.gz gcc-be671ec1f30ecd55aaff09048afb2a619018cb8a.tar.bz2 |
Mark gcc.target/i386/apx-ndd-tls-1b.c as xfail.
It looks like the testcase is fragile, it's supposed to check the
compiler ability of generating code_6_gottpoff_reloc instruction, but
failed since there's a seg_prefixed memory
usage(r14-6242-gd564198f960a2f).
mov r13, QWORD PTR j@gottpoff[rip]
mov r12, QWORD PTR a@gottpoff[rip]
mov rbp, QWORD PTR [rsp+1040]
lea rbx, [rsp+1040]
add r14, QWORD PTR fs:0, r12
gcc/testsuite/ChangeLog:
PR target/117069
* gcc.target/i386/apx-ndd-tls-1b.c: Add xfail.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/apx-ndd-tls-1b.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.target/i386/apx-ndd-tls-1b.c b/gcc/testsuite/gcc.target/i386/apx-ndd-tls-1b.c index d063703..afcad0c 100644 --- a/gcc/testsuite/gcc.target/i386/apx-ndd-tls-1b.c +++ b/gcc/testsuite/gcc.target/i386/apx-ndd-tls-1b.c @@ -3,7 +3,10 @@ /* { dg-require-effective-target tls } */ /* { dg-require-effective-target code_6_gottpoff_reloc } */ /* { dg-options "-save-temps -std=gnu17 -mapxf -O3 -w" } */ - +/* The testcase is fragile, it's supposed to check the compiler + ability of generating code_6_gottpoff_reloc instruction, but + failed since there's a seg_prefixed memory + usage(r14-6242-gd564198f960a2f). */ #include "apx-ndd-tls-1a.c" -/* { dg-final { scan-assembler-times "addq\[ \t]+%r\[a-z0-9\]+, a@gottpoff\\(%rip\\), %r\[a-z0-9\]+" 1 { target lp64 } } } */ +/* { dg-final { scan-assembler-times "addq\[ \t]+%r\[a-z0-9\]+, a@gottpoff\\(%rip\\), %r\[a-z0-9\]+" 1 { xfail lp64 } } } */ |