Re: why does gccgit require pthread?

2022-11-06 Thread LIU Hao via Gcc
在 2022/11/7 15:03, Andrew Pinski 写道: The win32 thread model does not have `std::mutex`; but there is no `pthread_mutex_t` either, so it does not build either way. Oh, but I would assume it will later on right? There has been effort on C++11 threading support for win32 thread model, but I ha

Re: why does gccgit require pthread?

2022-11-06 Thread Andrew Pinski via Gcc
On Sun, Nov 6, 2022 at 10:51 PM LIU Hao wrote: > > 在 2022-11-07 12:37, Andrew Pinski 写道: > > > > The original code which used pthread was added in GCC 5 way before GCC > > moved to being written in C++11 which was only in the last 3 years. > > pthread_* functions were the best choice at the time (

Re: why does gccgit require pthread?

2022-11-06 Thread LIU Hao via Gcc
在 2022-11-07 12:37, Andrew Pinski 写道: The original code which used pthread was added in GCC 5 way before GCC moved to being written in C++11 which was only in the last 3 years. pthread_* functions were the best choice at the time (2014) but now GCC is written in C++11, I don't see any reason not

Re: why does gccgit require pthread?

2022-11-06 Thread Andrew Pinski via Gcc
On Sun, Nov 6, 2022 at 7:59 PM LIU Hao via Gcc wrote: > > Greetings, > > At the moment, there are references to pthread mutexes in > 'gcc/jit/libgccjit.cc' and > 'gcc/git/jit-playback.cc'. The former was introduced by > 63b2923dc6f57e74d964a9cf14f4ba595ab14ed9 in > 2020, while the latter was int

why does gccgit require pthread?

2022-11-06 Thread LIU Hao via Gcc
Greetings, At the moment, there are references to pthread mutexes in 'gcc/jit/libgccjit.cc' and 'gcc/git/jit-playback.cc'. The former was introduced by 63b2923dc6f57e74d964a9cf14f4ba595ab14ed9 in 2020, while the latter was introduced by 38771e4e1fdacfbdac5a14e50fcc0538577b1bdb in 2014. Does t

gcc-13-20221106 is now available

2022-11-06 Thread GCC Administrator via Gcc
Snapshot gcc-13-20221106 is now available on https://gcc.gnu.org/pub/gcc/snapshots/13-20221106/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 13 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch