+2014-12-31 David Edelsohn <dje.gcc@gmail.com>
+
+ * lib/target-supports.exp (add_options_for_tls): Prepend pthread
+ link flags.
+ * gcc.c-torture/execute/eeprof-1.c: Change AIX XFAIL to run-if.
+ * g++.old-deja/g++.mike/p755a.C: XFAIL on AIX.
+ * g++.dg/gomp/tls-5.C: Same.
+ * g++.dg/template/linkage1.C: Same.
+ * g++.dg/tls/thread_local1.C: Same.
+ * g++.dg/tls/thread_local7.C: Same.
+ * g++.dg/tls/thread_local7g.C: Same.
+
2014-12-31 Tobias Burnus <burnus@net-b.de>
* gfortran.dg/error_stop_3.f90: New.
predicate value.
2014-12-04 Jack Howarth <howarth@bromo.med.uc.edu>
-
+
PR testsuite/64145
* gcc.dg/graphite/isl-codegen-loop-dumping.c: Restore
-fgraphite-identity.
// The reference temp should be TLS, not normal data.
// { dg-require-effective-target c++11 }
-// { dg-final { scan-assembler-not "\\.data" { target tls_native } } }
+// { dg-final { scan-assembler-not "\\.data" { target tls_native xfail powerpc-*-aix* } } }
extern int&& ir;
#pragma omp threadprivate (ir)
// PR c++/50372
// Test that a template instantiation has the same linkage as its argument.
// { dg-final { scan-assembler "(weak|glob)\[^\n\]*_Z3fooIXadL_Z13external_funcvEEEvv" } }
-// { dg-final { scan-assembler-not "(weak|glob)\[^\n\]*_Z3fooIXadL_ZL11static_funcvEEEvv" } }
+// { dg-final { scan-assembler-not "(weak|glob)\[^\n\]*_Z3fooIXadL_ZL11static_funcvEEEvv" { xfail powerpc-*-aix* } } }
template<void (*fptr)(void)>
void foo() { }
// simultaneous execution.
// { dg-final { scan-assembler-not "cxa_guard" } }
// The guard should be TLS, not local common.
-// { dg-final { scan-assembler-not "\.comm" } }
+// { dg-final { scan-assembler-not "\.comm" { xfail powerpc-*-aix* } } }
struct A
{
// { dg-require-effective-target tls }
// The reference temp should be TLS, not normal data.
-// { dg-final { scan-assembler-not "\\.data" { target tls_native } } }
+// { dg-final { scan-assembler-not "\\.data" { target tls_native xfail powerpc-*-aix* } } }
void f()
{
// { dg-require-effective-target tls }
// The reference temp should be TLS, not normal data.
-// { dg-final { scan-assembler-not "\\.data" { target tls_native } } }
+// { dg-final { scan-assembler-not "\\.data" { target tls_native xfail powerpc-*-aix* } } }
thread_local int&& ir = 42;
-// { dg-do run }
+// { dg-do run { xfail powerpc-*-aix* } }
// It checks to see if you can define your own global delete operator.
// prms-id: 755
/* { dg-require-effective-target return_address } */
/* { dg-options "-finstrument-functions" } */
-/* { dg-xfail-if "" { powerpc-ibm-aix* } "*" "" } */
+/* { dg-xfail-run-if "" { powerpc-ibm-aix* } "*" "" } */
extern void abort (void);
int f (void) { return i; }
void g (int j) { i = j; }
}] } {
- return "$flags -pthread"
+ return "-pthread [g++_link_flags [get_multilibs "-pthread"] ] $flags "
}
return $flags
}