This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Documentation bug: list of builtin functions


The list of builtin functions in the node "C Dialect options" seems
to be incorrect:

  `-fno-builtin'
       Don't recognize builtin functions that do not begin with
       `__builtin_' as prefix.  Currently, the functions affected include
       `abort', `abs', `alloca', `cos', `exit', `fabs', `ffs', `labs',
       `memcmp', `memcpy', `sin', `sqrt', `strcmp', `strcpy', and
       `strlen'.

For instance, memset seems to be a builtin:

  $ echo "int memset(int);" | gcc -x c - -c -o /dev/null
  :1: warning: conflicting types for built-in function `memset'

/Niels


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]