aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/ipa-cp.c6
2 files changed, 4 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e2106f5..71f3066 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2016-11-06 Kugan Vivekanandarajah <kuganv@linaro.org>
+
+ * ipa-cp.c (ipcp_bits_lattice::meet_with): Remove unreachable code.
+
2016-11-05 Martin Sebor <msebor@redhat.com>
* doc/invoke.texi (Warning Options): Correct typos in -Walloca
diff --git a/gcc/ipa-cp.c b/gcc/ipa-cp.c
index 1dc5cb6..527ff27 100644
--- a/gcc/ipa-cp.c
+++ b/gcc/ipa-cp.c
@@ -1070,12 +1070,6 @@ ipcp_bits_lattice::meet_with (ipcp_bits_lattice& other, unsigned precision,
return set_to_bottom ();
}
- else if (code == NOP_EXPR)
- {
- adjusted_value = other.m_value;
- adjusted_mask = other.m_mask;
- }
-
else
return set_to_bottom ();