aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@adacore.com>2020-04-08 12:41:52 -0300
committerAlexandre Oliva <oliva@gnu.org>2020-04-08 12:41:52 -0300
commite4b84abcc46fb4270172584ac5a4b46d70e93259 (patch)
tree05bfedfd6fbcedd8bd62b1137aad688efcb3c659 /gcc
parent70df40cab6f268ba7f05c6d1421928cca0834ee3 (diff)
downloadgcc-e4b84abcc46fb4270172584ac5a4b46d70e93259.zip
gcc-e4b84abcc46fb4270172584ac5a4b46d70e93259.tar.gz
gcc-e4b84abcc46fb4270172584ac5a4b46d70e93259.tar.bz2
require tls_runtime for tls execution test
All TLS execution tests require tls_runtime, not just tls; pr78796.c is the only exception that is not otherwise limited to platforms known to support it. I suppose that's an oversight. On a platform whose linker is configured to disregard TLS relocations, this test compiles and assembles successfully, but execution fails. The tls_runtime requirement target avoids the noise from the expected failure. for gcc/testsuite/ChangeLog * gcc.dg/tls/pr78796.c: Require tls_runtime.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/tls/pr78796.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index a420dea..557c815 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2020-04-08 Alexandre Oliva <oliva@adacore.com>
+
+ * gcc.dg/tls/pr78796.c: Require tls_runtime.
+
2020-04-08 Martin Liska <mliska@suse.cz>
PR c++/94314
diff --git a/gcc/testsuite/gcc.dg/tls/pr78796.c b/gcc/testsuite/gcc.dg/tls/pr78796.c
index a0b23d6..038e536 100644
--- a/gcc/testsuite/gcc.dg/tls/pr78796.c
+++ b/gcc/testsuite/gcc.dg/tls/pr78796.c
@@ -2,7 +2,7 @@
/* { dg-do run } */
/* { dg-options "-O2" } */
/* { dg-additional-options "-mcmodel=large" { target aarch64-*-* } } */
-/* { dg-require-effective-target tls } */
+/* { dg-require-effective-target tls_runtime } */
/* { dg-add-options tls } */
struct S { int a, b, c, d, e; };