master: Build failure in malloc with GCC 7
Andreas Schwab
schwab@suse.de
Wed Jul 12 12:29:00 GMT 2017
On Jul 12 2017, Florian Weimer <fweimer@redhat.com> wrote:
> The attached patch adds an assert which reveals to the GCC optimizers
> that the global_max_fast can never MAX_FAST_SIZE, so this particular
> issue goes away. However, there is a cost in terms of code size because
> it affects many places in malloc.
Can __builtin_unreachable avoid the runtime overhead?
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the Libc-alpha
mailing list