typeck.c (inline_conversion): Remove.
authorJan Hubicka <jh@suse.cz>
Fri, 25 Jul 2008 21:03:34 +0000 (23:03 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 25 Jul 2008 21:03:34 +0000 (21:03 +0000)
commit4847609e489c9f6bfcc56cc801679bd884adeecc
treed3bfc3661c16812927eeef09a645e03c0bedb445
parent1fc8feb560d1cca0c0a6189a8635b05de8a8fa3d
typeck.c (inline_conversion): Remove.

* typeck.c (inline_conversion): Remove.
(cp_build_function_call): Do not use inline_conversion.
* decl.c (duplicate_decls): Do not insist on inline being declared
early.
(start_cleanup_fn): Do not assume that INLINE flags prevent function
from being output.  We now remove static functions always.
(finish_function): Do return warning on all static functions.
* call.c (build_over_call): Do not use inline_conversion.
* cp-tree.h (possibly_inlined_p): Declare.
(inline_conversion): Remove.
* pt.c (instantiate_decl): Use possibly_inlined_p predicate.
* decl2.c (cp_write_global_declarations): Likewise.
(mark_used): Likewise.
(possibly_inlined_p): New functions.

From-SVN: r138150
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/pt.c
gcc/cp/typeck.c