Re: [committed] libstdc++: Add noexcept to __replacement_assert [PR101429]

2021-07-16 Thread Jonathan Wakely via Gcc-patches
On Thu, 15 Jul 2021 at 19:47, Jonathan Wakely wrote: > > > > On Thu, 15 Jul 2021, 18:21 François Dumont via Libstdc++, > wrote: >> >> On 15/07/21 5:26 pm, Jonathan Wakely via Libstdc++ wrote: >> > This results in slightly smaller code when assertions are enabled when >> > either using Clang (beca

Re: [committed] libstdc++: Add noexcept to __replacement_assert [PR101429]

2021-07-15 Thread Jonathan Wakely via Gcc-patches
On Thu, 15 Jul 2021, 18:21 François Dumont via Libstdc++, < libstd...@gcc.gnu.org> wrote: > On 15/07/21 5:26 pm, Jonathan Wakely via Libstdc++ wrote: > > This results in slightly smaller code when assertions are enabled when > > either using Clang (because it adds code to call std::terminate when

Re: [committed] libstdc++: Add noexcept to __replacement_assert [PR101429]

2021-07-15 Thread François Dumont via Gcc-patches
On 15/07/21 5:26 pm, Jonathan Wakely via Libstdc++ wrote: This results in slightly smaller code when assertions are enabled when either using Clang (because it adds code to call std::terminate when potentially-throwing functions are called in a noexcept function) or a freestanding or non-verbose

[committed] libstdc++: Add noexcept to __replacement_assert [PR101429]

2021-07-15 Thread Jonathan Wakely via Gcc-patches
This results in slightly smaller code when assertions are enabled when either using Clang (because it adds code to call std::terminate when potentially-throwing functions are called in a noexcept function) or a freestanding or non-verbose build (because it doesn't use printf). Signed-off-by: Jonat