summaryrefslogtreecommitdiff
path: root/gcc/gcse.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2014-02-12 14:50:06 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2014-02-12 14:50:06 +0000
commitb476835bb54880adfbd3d779beace558a55a025f (patch)
treeb7dc278162a0c71a10eea045aff8749b87dcbbed /gcc/gcse.c
parentce39ea7bb2a09e5210a5e97b6b59119176ffb395 (diff)
downloadgcc-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.c5
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;
+ }
}
}
}