PR middle-end/58332
commit26051fcf8c89ae28643a3f9a98ee9d83d01f0161
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Sep 2013 17:45:00 +0000 (17 17:45 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Sep 2013 17:45:00 +0000 (17 17:45 +0000)
treead0eee441d92de888ca7a13df2182efb4f34930e
parentb99a7d6d200e6c5d1b2e0525a3811387bb58969a
PR middle-end/58332
* gcc.c-torture/compile/pr58332.c: New testcase.
* cif-code.def (FUNCTION_NOT_OPTIMIZED): New CIF code.
* ipa-inline.c (can_inline_edge_p): Do not downgrade
FUNCTION_NOT_OPTIMIZED.
* ipa-inline-analysis.c (compute_inline_parameters): Function
not optimized is not inlinable unless it is alwaysinline.
(inline_analyze_function): Force calls in not optimized
function not inlinable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202661 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cif-code.def
gcc/ipa-inline-analysis.c
gcc/ipa-inline.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr58332.c [new file with mode: 0644]