2015-03-09 Richard Biener <rguenther@suse.de>
PR middle-end/44563
* tree-inline.c (copy_cfg_body): Skip block mapped to entry/exit
for redirect_all_calls.
From-SVN: r221321
+2015-03-10 Richard Biener <rguenther@suse.de>
+
+ PR middle-end/44563
+ * tree-inline.c (copy_cfg_body): Skip block mapped to entry/exit
+ for redirect_all_calls.
+
2015-03-10 Marek Polacek <polacek@redhat.com>
* gdbinit.in (pcfun): Define and document.
maybe_move_debug_stmts_to_successors (id, (basic_block) bb->aux);
/* Update call edge destinations. This can not be done before loop
info is updated, because we may split basic blocks. */
- if (id->transform_call_graph_edges == CB_CGE_DUPLICATE)
+ if (id->transform_call_graph_edges == CB_CGE_DUPLICATE
+ && bb->index != ENTRY_BLOCK
+ && bb->index != EXIT_BLOCK)
redirect_all_calls (id, (basic_block)bb->aux);
((basic_block)bb->aux)->aux = NULL;
bb->aux = NULL;