re PR tree-optimization/52376 (ICE in lto_input_tree_ref, at lto-streamer-in.c:266 while linking LTO-PGO libxul)
PR tree-optimization/52376 * ipa-split.c (split_function): Ignore CLOBBER stmts. From-SVN: r184600
This commit is contained in:
parent
2662a82152
commit
2e216592e3
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-02-27 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR tree-optimization/52376
|
||||
* ipa-split.c (split_function): Ignore CLOBBER stmts.
|
||||
|
||||
2012-02-27 Stuart Henderson <shenders@gcc.gnu.org>
|
||||
|
||||
* ifcvt.c (noce_get_condition): Check condition variable is not
|
||||
|
|
|
@ -1300,7 +1300,8 @@ split_function (struct split_point *split_point)
|
|||
gimple_return_set_retval (gsi_stmt (bsi), retval);
|
||||
break;
|
||||
}
|
||||
else if (gimple_code (gsi_stmt (bsi)) == GIMPLE_ASSIGN)
|
||||
else if (gimple_code (gsi_stmt (bsi)) == GIMPLE_ASSIGN
|
||||
&& !gimple_clobber_p (gsi_stmt (bsi)))
|
||||
{
|
||||
gimple_assign_set_rhs1 (gsi_stmt (bsi), retval);
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue