summaryrefslogtreecommitdiff
path: root/gcc/ipa-prop.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ipa-prop.c')
-rw-r--r--gcc/ipa-prop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c
index 6f5e26b2042..a376f45c7b3 100644
--- a/gcc/ipa-prop.c
+++ b/gcc/ipa-prop.c
@@ -440,6 +440,8 @@ get_ssa_def_if_simple_copy (tree rhs)
if (gimple_assign_single_p (def_stmt))
rhs = gimple_assign_rhs1 (def_stmt);
+ else
+ break;
}
return rhs;
}