i386: Fix cstorebf4 fp comparison operand [PR117495]
[official-gcc.git] / gcc / testsuite / g++.dg / gomp / tls-5.C
blob81431e82a9679c40b78c3587960de39445693cf7
1 // The reference temp should be TLS, not normal data.
2 // { dg-require-effective-target c++11 }
3 // { dg-final { scan-assembler-not "\\.data" { target tls_native xfail powerpc-*-aix* } } }
4 // { dg-final { scan-assembler-symbol-section {^_?ir$} {^\.tbss} { target tls_native xfail powerpc-*-aix* } } }
5 // { dg-final { scan-assembler-symbol-section {^_?_ZGR2ir_$} {^\.tdata|\[TL\]} { target tls_native } } }
7 extern int&& ir;
8 #pragma omp threadprivate (ir)
9 int&& ir = 42;
11 void f()
13   ir = 24;