summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-tail-merge.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-01 14:26:55 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-01 14:26:55 +0000
commit4705bce74d161d13bd138f9da65faf1d2fb68114 (patch)
tree69c7ab67c6527d585904538106ededde7482383a /gcc/tree-ssa-tail-merge.c
parente2f53049d9424e70ca71aeb9548b657649c6059f (diff)
downloadgcc-4705bce74d161d13bd138f9da65faf1d2fb68114.tar.gz
2012-02-01 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 183800 using svnmerge git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@183801 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-tail-merge.c')
-rw-r--r--gcc/tree-ssa-tail-merge.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-ssa-tail-merge.c b/gcc/tree-ssa-tail-merge.c
index 47dc0a6ffc8..1f46b10a64e 100644
--- a/gcc/tree-ssa-tail-merge.c
+++ b/gcc/tree-ssa-tail-merge.c
@@ -371,6 +371,8 @@ local_def (tree val)
res = true;
FOR_EACH_IMM_USE_STMT (stmt, iter, val)
{
+ if (is_gimple_debug (stmt))
+ continue;
bb = gimple_bb (stmt);
if (bb == def_bb)
continue;