From 063bb8edbe78e06d5096f7718441b8dc2fb56a77 Mon Sep 17 00:00:00 2001 From: Jerome Lambourg Date: Thu, 31 Dec 2020 21:38:13 -0300 Subject: [PATCH] g++.dg/tls/pr79288.C: Skip on vxworks_kernel (TLS model not supported) The only TLS model supported in VxWorks kernel mode is local-exec. for gcc/testsuite/ChangeLog * g++.dg/tls/pr79288.C: Skip on vxworks_kernel (TLS model not supported). --- gcc/testsuite/g++.dg/tls/pr79288.C | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/testsuite/g++.dg/tls/pr79288.C b/gcc/testsuite/g++.dg/tls/pr79288.C index da6751f5149..c41629d9d25 100644 --- a/gcc/testsuite/g++.dg/tls/pr79288.C +++ b/gcc/testsuite/g++.dg/tls/pr79288.C @@ -2,6 +2,7 @@ // { dg-do compile { target { nonpic || pie_enabled } } } // { dg-require-effective-target tls } // { dg-options "-O2" } +// { dg-skip-if "VxWorks kernel tls model is local-exec" { vxworks_kernel } } // { dg-final { scan-assembler-not "@tpoff" { target i?86-*-* x86_64-*-* } } } struct S -- 2.30.2