From: Jerome Lambourg Date: Fri, 1 Jan 2021 00:38:13 +0000 (-0300) Subject: g++.dg/tls/pr79288.C: Skip on vxworks_kernel (TLS model not supported) X-Git-Tag: upstream/12.2.0~10555 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=063bb8edbe78e06d5096f7718441b8dc2fb56a77;p=platform%2Fupstream%2Fgcc.git 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). --- diff --git a/gcc/testsuite/g++.dg/tls/pr79288.C b/gcc/testsuite/g++.dg/tls/pr79288.C index da6751f..c41629d 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