New attribute "infrequent"?

Ulrich Drepper drepper@redhat.com
Mon Aug 27 09:41:00 GMT 2001


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   `------------------------



More information about the Gcc mailing list