public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-8376] testsuite: Disable new test for PR113292 on targets without TLS support
@ 2024-01-23 23:42 Nathaniel Shead
  0 siblings, 0 replies; only message in thread
From: Nathaniel Shead @ 2024-01-23 23:42 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:bf358eaa168a7b967294c1446288e82fe85c2629

commit r14-8376-gbf358eaa168a7b967294c1446288e82fe85c2629
Author: Nathaniel Shead <nathanieloshead@gmail.com>
Date:   Fri Jan 19 18:15:22 2024 +1100

    testsuite: Disable new test for PR113292 on targets without TLS support
    
    This disables the new test added by r14-8168 on machines that don't have
    TLS support, such as bare-metal ARM.
    
    gcc/testsuite/ChangeLog:
    
            * g++.dg/modules/pr113292_c.C: Require TLS.
    
    Signed-off-by: Nathaniel Shead <nathanieloshead@gmail.com>

Diff:
---
 gcc/testsuite/g++.dg/modules/pr113292_c.C | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcc/testsuite/g++.dg/modules/pr113292_c.C b/gcc/testsuite/g++.dg/modules/pr113292_c.C
index aa3f32ae818..b5acf79db63 100644
--- a/gcc/testsuite/g++.dg/modules/pr113292_c.C
+++ b/gcc/testsuite/g++.dg/modules/pr113292_c.C
@@ -1,5 +1,7 @@
 // PR c++/113292
 // { dg-module-do link }
+// { dg-require-effective-target tls_runtime }
+// { dg-add-options tls }
 // { dg-additional-options "-fmodules-ts" }
 
 import "pr113292_a.H";

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-23 23:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-23 23:42 [gcc r14-8376] testsuite: Disable new test for PR113292 on targets without TLS support Nathaniel Shead

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).