ipa-inline-analysis.c (redirect_to_unreachable): New function.
authorJan Hubicka <hubicka@ucw.cz>
Thu, 26 Mar 2015 19:54:44 +0000 (20:54 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 26 Mar 2015 19:54:44 +0000 (19:54 +0000)
commit5058c037581a2015d2e2ea86c50628dcde72f646
treeff4f08f1aba0f9a9dd96795eaa4ede3df6b92be8
parent082276588e742c74af0216ae824b112b8ec7bb97
ipa-inline-analysis.c (redirect_to_unreachable): New function.

* ipa-inline-analysis.c (redirect_to_unreachable): New function.
(edge_set_predicate): Use it to mark unreachable edges.
(inline_summary_t::duplicate): Remove unnecesary code.
(remap_edge_summaries): Likewise.
(dump_inline_summary): Report contains_cilk_spawn.
(compute_inline_parameters): Compute contains_cilk_spawn.
(inline_read_section, inline_write_summary): Stream
contains_cilk_spawn.
* ipa-inline.c (can_inline_edge_p): Do not tuch
DECL_STRUCT_FUNCTION that may not be available;
use CIF_CILK_SPAWN for cilk; fix optimization attribute checks;
remove check for callee_fun->can_throw_non_call_exceptions and
replace it by optimization attribute check; check for flag_exceptions.
* ipa-inline-transform.c (inline_call): Maintain
DECL_FUNCTION_PERSONALITY
* ipa-inline.h (inline_summary): Add contains_cilk_spawn.

From-SVN: r221706
gcc/ChangeLog
gcc/ipa-inline-analysis.c
gcc/ipa-inline-transform.c
gcc/ipa-inline.c
gcc/ipa-inline.h