From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7948) id 59EB93858D3C; Tue, 23 Jan 2024 23:42:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 59EB93858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1706053336; bh=S/w36QdMFnclxbWY34q80ii6ftAwV2nWpBAPN2qh1es=; h=From:To:Subject:Date:From; b=qjt5v3oCENMNDdR4JQmJ0cv2/JkpUIj1p3OA7QTvJrpnaXYBOjU3rvtVRr4bv5EXt Sx/PM/beyzbap0RvlWqxQCdyM1nybzbD6WODQtxosWcOjvVaz8UHVk+9Y6PQjLNq7x phi9zb8SNbRIS9UKHm4Cq4RhNSBiqqZS0C71B+/w= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Nathaniel Shead To: gcc-cvs@gcc.gnu.org Subject: [gcc r14-8376] testsuite: Disable new test for PR113292 on targets without TLS support X-Act-Checkin: gcc X-Git-Author: Nathaniel Shead X-Git-Refname: refs/heads/master X-Git-Oldrev: 9010fdba68063beccfbab0aa9ec8739f232ca2f4 X-Git-Newrev: bf358eaa168a7b967294c1446288e82fe85c2629 Message-Id: <20240123234216.59EB93858D3C@sourceware.org> Date: Tue, 23 Jan 2024 23:42:15 +0000 (GMT) List-Id: https://gcc.gnu.org/g:bf358eaa168a7b967294c1446288e82fe85c2629 commit r14-8376-gbf358eaa168a7b967294c1446288e82fe85c2629 Author: Nathaniel Shead 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 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";