diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-12-17 14:28:17 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-12-17 16:16:37 +0000 |
commit | b2bc1bb6cabf30f332938d648fe6432a3a9d27b6 (patch) | |
tree | 85cfb18e6fd3d0a0b741aa9d41491ef57309f4e4 /libstdc++-v3/config/os | |
parent | ec2a58a36ae14be4793c04c0bab183734aeb0312 (diff) | |
download | gcc-b2bc1bb6cabf30f332938d648fe6432a3a9d27b6.zip gcc-b2bc1bb6cabf30f332938d648fe6432a3a9d27b6.tar.gz gcc-b2bc1bb6cabf30f332938d648fe6432a3a9d27b6.tar.bz2 |
libstdc++: Fix condition for gthreads-timed effective-target
The refactoring in r11-5500 altered the condition for the gthreads-timed
test from #if to #ifdef. For some reason that macro is always defined,
rather than being defined to 1 or undefined like most of our autoconf
macros. That means the test always passes now, even for targets where
the macro is defined to 0 (specifically, Darwin). That causes some tests
to FAIL when they should have been UNSUPPORTED.
This restores the previous behaviour.
libstdc++-v3/ChangeLog:
* testsuite/lib/libstdc++.exp (check_v3_target_gthreads_timed):
Fix condition for _GTHREAD_USE_MUTEX_TIMEDLOCK test.
Diffstat (limited to 'libstdc++-v3/config/os')
0 files changed, 0 insertions, 0 deletions