Commit 844be113 by Alexander Ivchenko Committed by Kirill Yukhin

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
parent afbc8499
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment