ipa-inline-analysis.c (redirect_to_unreachable): Be prepared for edge to change by...
authorJan Hubicka <hubicka@ucw.cz>
Fri, 27 Mar 2015 04:01:04 +0000 (05:01 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 27 Mar 2015 04:01:04 +0000 (04:01 +0000)
commita21065cad0187cf31d5984b12ef73a9f78c229cb
treefa321bdefa75fde285b4c26a0ee21e739e437fc0
parente59887e7b63d58c14e032f5266c95e61c5e38415
ipa-inline-analysis.c (redirect_to_unreachable): Be prepared for edge to change by speculation resolution or redirection.

* ipa-inline-analysis.c (redirect_to_unreachable): Be prepared for
edge to change by speculation resolution or redirection.
(edge_set_predicate): Likewise.
(inline_summary_t::duplicate): Likewise.
(remap_edge_summaries): Likewise.
* gcc.c-torture/compile/20150327.c: New testcase.

From-SVN: r221718
gcc/ChangeLog
gcc/ipa-inline-analysis.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20150327.c [new file with mode: 0644]