diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-02-12 14:50:06 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-02-12 14:50:06 +0000 |
commit | b476835bb54880adfbd3d779beace558a55a025f (patch) | |
tree | b7dc278162a0c71a10eea045aff8749b87dcbbed /gcc/gcse.c | |
parent | ce39ea7bb2a09e5210a5e97b6b59119176ffb395 (diff) | |
download | gcc-b476835bb54880adfbd3d779beace558a55a025f.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207726 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r-- | gcc/gcse.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c index eff3715c49f..2bb0b5fec1e 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -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; + } } } } |