diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2025-06-06 14:16:15 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2025-06-06 20:15:07 +0100 |
commit | 7407891a3d7c177212c6027c1dee08bed096666b (patch) | |
tree | 2776b7e329583208bf121311acc41352c50f2293 /libgfortran/generated/minval_i4.c | |
parent | d5050287acd28cbe23df527605449f514a659bba (diff) | |
download | gcc-7407891a3d7c177212c6027c1dee08bed096666b.zip gcc-7407891a3d7c177212c6027c1dee08bed096666b.tar.gz gcc-7407891a3d7c177212c6027c1dee08bed096666b.tar.bz2 |
libstdc++: Use std::conditional_t instead of lambda to select semaphore implementation
The lambda expression causes testsuite failures such as:
FAIL g++.dg/modules/xtreme-header-2_b.C -std=c++26 (test for excess errors)
libstdc++-v3/ChangeLog:
* include/bits/semaphore_base.h (_Select_semaphore_impl): Rename
to _Semaphore_impl and use std::conditional_t instead of an
immediately invoked lambda expression.
* include/std/semaphore (counting_semaphore): Adjust to use new
name.
Diffstat (limited to 'libgfortran/generated/minval_i4.c')
0 files changed, 0 insertions, 0 deletions