This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: New attribute "infrequent"?
Jan Hubicka <jh@suse.cz> writes:
> Optimizing "noreturn" function for size instead of speed should be also good
> idea, but just tiny fraction of code is "noreturn", while "infrequent" is in
> fact majority of code.
It's not always the case that noreturn functions are not
time-critical. Functions which end longjmp() can very well be used
very frequently. There is code out there which emulates exception
handling this way.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------