Whole document tree
4.40 Other built-in functions provided by GNU CCGNU CC provides a large number of built-in functions other than the ones mentioned above. Some of these are for internal use in the processing of exceptions or variable-length argument lists and will not be documented here because they may change from time to time; we do not recommend general use of these functions. The remaining functions are provided for optimization purposes.
GNU CC includes builtin versions of many of the functions in the
standard C library. These will always be treated as having the same
meaning as the C library function even if you specify the
`-fno-builtin' (see section 2.4 Options Controlling C Dialect) option. These functions
correspond to the C library functions
You can use the builtin function You would typically use this function in an embedded application where memory was a critical resource. If you have some complex calculation, you may want it to be folded if it involves constants, but need to call a function if it does not. For example:
You may use this builtin function in either a macro or an inline function. However, if you use it in an inlined function and pass an argument of the function as the argument to the builtin, GNU CC will never return 1 when you call the inline function with a string constant or constructor expression (see section 4.19 Constructor Expressions) and will not return 1 when you pass a constant numeric value to the inline function unless you specify the `-O' option.
This document was generated by root on January, 30 2002 using texi2html |