OSDN Git Service

* c-common.c (struct disabled_builtin, disabled_builtins,
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 Nov 2001 03:30:57 +0000 (03:30 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 Nov 2001 03:30:57 +0000 (03:30 +0000)
commitdd878098cf978ba5ce22a1f899c8775e45d97669
tree3bf2e6da7732b3b856461efc1c4fffe0eba2760d
parent3c70bc92294a35a51e695094ae6e26c3cb1adf03
* c-common.c (struct disabled_builtin, disabled_builtins,
disable_builtin_function, builtin_function_disabled_p): New.
(builtin_function_2): Check for disabled built-in functions.
* c-common.h (disable_builtin_function): Declare.
* c-decl.c (c_decode_option): Handle -fno-builtin-FUNCTION.
* doc/invoke.texi: Document -fno-builtin-FUNCTION.
* doc/extend.texi: Mention -fno-builtin-FUNCTION.

testsuite:
* gcc.dg/no-builtin-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47133 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-common.c
gcc/c-common.h
gcc/c-decl.c
gcc/doc/extend.texi
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/no-builtin-1.c [new file with mode: 0644]