[Bug libstdc++/89461] FAIL: experimental/net/timer/waitable/cons.cc
dave.anglin at bell dot net
gcc-bugzilla@gcc.gnu.org
Mon Feb 25 23:46:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89461
--- Comment #3 from dave.anglin at bell dot net ---
On 2019-02-23 2:34 p.m., redi at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89461
>
> --- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
> Oops, that should be:
>
> --- a/libstdc++-v3/include/experimental/io_context
> +++ b/libstdc++-v3/include/experimental/io_context
> @@ -134,7 +134,8 @@ inline namespace v1
> io_context* _M_ctx;
> };
>
> - using count_type = size_t;
> + using count_type
> + = conditional_t<ATOMIC_LONG_LOCK_FREE == 2, unsigned long, unsigned
> int>;
>
> // construct / copy / destroy:
Makes things worse. I think we need to be using a mutes.
More information about the Gcc-bugs
mailing list