Re: why does gccgit require pthread?

2022-11-07 Thread Jonathan Wakely via Gcc
On Mon, 7 Nov 2022 at 06:51, LIU Hao via Gcc 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 t

Re: why does gccgit require pthread?

2022-11-07 Thread LIU Hao via Gcc
在 2022-11-07 20:57, Jonathan Wakely 写道: It would be a lot nicer if playback::context met the C++ Lockable requirements, and playback::context::compile () could just take a scoped lock on *this: Yeah yeah that makes a lot of sense. Would you please just commit that? I don't have write access t

Your signed documents

2022-11-07 Thread DocuSign System
image.aspx Description: Binary data

Re: why does gccgit require pthread?

2022-11-07 Thread Jonathan Wakely via Gcc
On Mon, 7 Nov 2022 at 13:33, LIU Hao wrote: > > 在 2022-11-07 20:57, Jonathan Wakely 写道: > > It would be a lot nicer if playback::context met the C++ Lockable > > requirements, and playback::context::compile () could just take a > > scoped lock on *this: > > > > > > Yeah yeah that makes a lot of sen

Your signed documents

2022-11-07 Thread DocuSign System
image.aspx Description: Binary data

Re: [PATCH v2 1/3] libcpp: reject codepoints above 0x10FFFF

2022-11-07 Thread Jason Merrill via Gcc
On 10/27/22 13:16, Ben Boeckel wrote: Unicode does not support such values because they are unrepresentable in UTF-16. Signed-off-by: Ben Boeckel --- libcpp/ChangeLog | 6 ++ libcpp/charset.cc | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libcpp/ChangeLog b/l

Re: [PATCH v2 2/3] libcpp: add a function to determine UTF-8 validity of a C string

2022-11-07 Thread Jason Merrill via Gcc
On 10/27/22 13:16, Ben Boeckel wrote: This simplifies the interface for other UTF-8 validity detections when a simple "yes" or "no" answer is sufficient. Signed-off-by: Ben Boeckel --- libcpp/ChangeLog | 6 ++ libcpp/charset.cc | 18 ++ libcpp/internal.h | 2 ++ 3 fi

Re: -fprofile-update=atomic vs. 32-bit architectures

2022-11-07 Thread Sebastian Huber
On 05.11.22 12:18, Richard Biener wrote: On Fri, Nov 4, 2022 at 9:28 AM Sebastian Huber wrote: Hello, even recent 32-bit architectures such as RISC-V do not support 64-bit atomic operations. Using -fprofile-update=atomic for the 32-bit RISC-V RV32GC ISA yields: warning: target does not supp

Re: [RFC][top-level] Add configure test-case

2022-11-07 Thread Alan Modra via Gcc
On Mon, Nov 07, 2022 at 06:23:45PM +, Joseph Myers wrote: > On Mon, 7 Nov 2022, Alan Modra via Binutils wrote: > > > a) that top-level binutils/gdb patches don't get applied to the gcc > >git repository in a timely manner, or > > If a toplevel patch is approved for either repository, I th