cgraphunit.c (cgraph_optimize_function): Always do optimize_inline_calls when there...
authorJan Hubicka <jh@suse.cz>
Tue, 13 Jan 2004 01:35:27 +0000 (02:35 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 13 Jan 2004 01:35:27 +0000 (01:35 +0000)
commit2d3270129fac84d3d3420a1da10330404ccadc2a
tree45863b0867b1a5dca9004db917fa2c41f48f77a5
parent04cc79bb8928ff2c97bef9df08dc252eecdc9845
cgraphunit.c (cgraph_optimize_function): Always do optimize_inline_calls when there is always_inline callee.

* cgraphunit.c (cgraph_optimize_function):  Always do
optimize_inline_calls when there is always_inline callee.
(cgraph_decide_inlining): Fix formating.
* tree-inline.c (inlinable_function_p): Do sorry for alwaysinline
functions.
(expand_call_inline): Likewise.
* toplev.h (sorry): Fix prototype.

* gcc.dg/always_inline.c: New test.
* gcc.dg/debug/20031231-1.c: Fix.

From-SVN: r75781
gcc/ChangeLog
gcc/cgraphunit.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/always_inline.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/debug/20031231-1.c
gcc/toplev.h
gcc/tree-inline.c