[PATCH] print extended assertion failures to stderr
sotrdg sotrdg
euloanty@live.com
Thu Nov 4 14:17:45 GMT 2021
i do have other arguments like no longer use none std compiler specific extensions or allow user to replace that function with linker in some environments.
Get Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: Jonathan Wakely <jwakely@redhat.com>
Sent: Thursday, November 4, 2021 10:01:27 AM
To: sotrdg sotrdg <euloanty@live.com>
Subject: Re: [PATCH] print extended assertion failures to stderr
On Thu, 4 Nov 2021 at 13:59, sotrdg sotrdg wrote:
It reduces one function call
Who cares if aborting the program takes an additional function call?!
and reduces compilation time for each translation unit.
That's a valid argument. As is the fact that __replacement_assert won't get inlined into its callers, keeping them smaller.
But "reduces on function call" seems an absurd thing to care about in this case.
More information about the Libstdc++
mailing list