target-supports.exp (check_effective_target_non_bionic): New effective-target test.
* lib/target-supports.exp (check_effective_target_non_bionic): New effective-target test. * g++.dg/tls/thread_local4.C: Disable test for Bionic. * g++.dg/tls/thread_local4g.C: Ditto. Co-Authored-By: Maxim Kuvyrkov <maxim@kugelworks.com> From-SVN: r201298
This commit is contained in:
parent
afbc84993c
commit
844be113d3
4 changed files with 21 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
|||
2013-07-29 Alexander Ivchenko <alexander.ivchenko@intel.com>
|
||||
Maxim Kuvyrkov <maxim@kugelworks.com>
|
||||
|
||||
* lib/target-supports.exp (check_effective_target_non_bionic): New
|
||||
effective-target test.
|
||||
* g++.dg/tls/thread_local4.C: Disable test for Bionic.
|
||||
* g++.dg/tls/thread_local4g.C: Ditto.
|
||||
|
||||
2013-07-28 Thomas Koenig <tkoenig@gcc.gnu.org>
|
||||
|
||||
PR fortran/58009
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
// { dg-require-effective-target c++11 }
|
||||
// { dg-require-effective-target tls_runtime }
|
||||
// { dg-require-effective-target pthread }
|
||||
// { dg-require-effective-target non_bionic }
|
||||
// { dg-options -pthread }
|
||||
// { dg-add-options tls }
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
// { dg-require-effective-target c++11 }
|
||||
// { dg-require-effective-target tls_runtime }
|
||||
// { dg-require-effective-target pthread }
|
||||
// { dg-require-effective-target non_bionic }
|
||||
// { dg-require-cxa-atexit "" }
|
||||
// { dg-options -pthread }
|
||||
// { dg-add-options tls }
|
||||
|
|
|
@ -4637,6 +4637,17 @@ proc check_effective_target_newlib {} {
|
|||
}]
|
||||
}
|
||||
|
||||
# Return true if this is NOT a Bionic target.
|
||||
|
||||
proc check_effective_target_non_bionic {} {
|
||||
return [check_no_compiler_messages non_bionic object {
|
||||
#include <ctype.h>
|
||||
#if defined (__BIONIC__)
|
||||
#error FOO
|
||||
#endif
|
||||
}]
|
||||
}
|
||||
|
||||
# Return 1 if
|
||||
# (a) an error of a few ULP is expected in string to floating-point
|
||||
# conversion functions; and
|
||||
|
|
Loading…
Add table
Reference in a new issue