]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Disable new test for PR113292 on targets without TLS support
authorNathaniel Shead <nathanieloshead@gmail.com>
Fri, 19 Jan 2024 07:15:22 +0000 (18:15 +1100)
committerNathaniel Shead <nathanieloshead@gmail.com>
Tue, 23 Jan 2024 23:42:03 +0000 (10:42 +1100)
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>
gcc/testsuite/g++.dg/modules/pr113292_c.C

index aa3f32ae81823f53005824fbcc57e046a24bdf8a..b5acf79db63c347760518fd3384e5ee0922f5066 100644 (file)
@@ -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";