c-objc-common.c (c_cannot_inline_tree_fn): Warn on why function is not inlinable...
authorJan Hubicka <jh@suse.cz>
Wed, 10 Sep 2003 23:45:05 +0000 (01:45 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 10 Sep 2003 23:45:05 +0000 (23:45 +0000)
commitf08545a8f225fe7adfbfab9a652bb8c325494d3c
tree240ef70cc4d941a711b2312423640e7e93085f12
parent25c84396dd1bfb44ff5365d8ff512f1233101dfd
c-objc-common.c (c_cannot_inline_tree_fn): Warn on why function is not inlinable; do not check the body.

* c-objc-common.c (c_cannot_inline_tree_fn): Warn
on why function is not inlinable; do not check
the body.
(inline_forbidden_p): Move to...
* tree-inline.c (inline_forbidden_p_1): ... here; Add warnings;
deal with alloca, longjmp.
(inline_forbidden_p): New static function.
(find_alloca_call_1, find_alloca_call, find_builtin_longjmp_call_1,
find_builtin_longjmp_call): Kill.

From-SVN: r71283
gcc/ChangeLog
gcc/c-objc-common.c
gcc/tree-inline.c