gcse.c (compute_transp): break from loop over canon_modify_mem_list when we found a dependence.

2014-02-12  Richard Biener  <rguenther@suse.de>

	* gcse.c (compute_transp): break from loop over canon_modify_mem_list
	when we found a dependence.

From-SVN: r207726
This commit is contained in:
Richard Biener 2014-02-12 14:50:06 +00:00 committed by Richard Biener
parent 77d8d4eb66
commit ad0188be21
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-02-12 Richard Biener <rguenther@suse.de>
* gcse.c (compute_transp): break from loop over canon_modify_mem_list
when we found a dependence.
2014-02-12 Thomas Schwinge <thomas@codesourcery.com>
* gimplify.c (gimplify_call_expr, gimplify_modify_expr): Move

View File

@ -1735,7 +1735,10 @@ compute_transp (const_rtx x, int indx, sbitmap *bmap)
if (canon_true_dependence (dest, GET_MODE (dest),
dest_addr, x, x_addr))
bitmap_clear_bit (bmap[bb_index], indx);
{
bitmap_clear_bit (bmap[bb_index], indx);
break;
}
}
}
}