This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: master: Build failure in malloc with GCC 7
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."