OSDN Git Service

* attribs.c (handle_noinline_attribute): New function.
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Oct 2001 18:29:02 +0000 (18:29 +0000)
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 18 Oct 2001 18:29:02 +0000 (18:29 +0000)
commit93f10b04ca36ad37324d33de23650fc0f053683b
treeba59c40e9652d1cafe3687880cd7a3e173e06791
parent5955c361a00431fa8809f8da0d214362ae647abf
* attribs.c (handle_noinline_attribute): New function.
(handle_used_attribute): Likewise.
(c_common_attribute_table): Added noinline and used.
* doc/extend.texi (Function Attributes): Document them.
* c-decl.c (duplicate_decls): Propagate DECL_UNINLINABLE.
Warn when merging inline with attribute noinline.
(start_decl, start_function): Warn if inline and attribute
noinline appear in the same declaration.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46334 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/attribs.c
gcc/c-decl.c
gcc/doc/extend.texi