Re: [PATCH] c++: fix noexcept checking for trivial operations [PR96090]

2023-12-10 Thread Jason Merrill
On 12/10/23 21:04, Nathaniel Shead wrote: On Sat, Dec 09, 2023 at 03:40:44PM -0500, Jason Merrill wrote: On 11/27/23 06:07, Nathaniel Shead wrote: Ping for https://gcc.gnu.org/pipermail/gcc-patches/2023-October/634626.html. I've been made aware since constructing this patch of CWG2820, which h

Re: [PATCH] c++: fix noexcept checking for trivial operations [PR96090]

2023-12-10 Thread Nathaniel Shead
On Sat, Dec 09, 2023 at 03:40:44PM -0500, Jason Merrill wrote: > On 11/27/23 06:07, Nathaniel Shead wrote: > > Ping for https://gcc.gnu.org/pipermail/gcc-patches/2023-October/634626.html. > > > > I've been made aware since constructing this patch of CWG2820, which has > > a proposed resolution tha

Re: [PATCH] c++: fix noexcept checking for trivial operations [PR96090]

2023-12-09 Thread Jason Merrill
On 11/27/23 06:07, Nathaniel Shead wrote: Ping for https://gcc.gnu.org/pipermail/gcc-patches/2023-October/634626.html. I've been made aware since constructing this patch of CWG2820, which has a proposed resolution that would change the result of the testcase 'noexcept(yesthrow_t())' (and similar

Re: [PATCH] c++: fix noexcept checking for trivial operations [PR96090]

2023-11-27 Thread Nathaniel Shead
Ping for https://gcc.gnu.org/pipermail/gcc-patches/2023-October/634626.html. I've been made aware since constructing this patch of CWG2820, which has a proposed resolution that would change the result of the testcase 'noexcept(yesthrow_t())' (and similarly for the library builtin), but as it hasn'

[PATCH] c++: fix noexcept checking for trivial operations [PR96090]

2023-10-28 Thread Nathaniel Shead
Bootstrapped and regtested on x86_64-pc-linux-gnu. -- >8 -- This patch stops eager folding of trivial operations (construction and assignment) from occurring when checking for noexceptness. This was previously done in PR c++/53025, but only for copy/move construction, and the __is_nothrow_xible b