From 0ddd4af5f49b9cc6600ccb5adfa1f00f784709e2 Mon Sep 17 00:00:00 2001 From: Kugan Vivekanandarajah Date: Sun, 6 Nov 2016 08:25:36 +0000 Subject: [PATCH] ipa-cp.c (ipcp_bits_lattice::meet_with): Remove unreachable code. 2016-11-06 Kugan Vivekanandarajah * ipa-cp.c (ipcp_bits_lattice::meet_with): Remove unreachable code. From-SVN: r241883 --- gcc/ChangeLog | 4 ++++ gcc/ipa-cp.c | 6 ------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e2106f563a1..71f3066c2db 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-11-06 Kugan Vivekanandarajah + + * ipa-cp.c (ipcp_bits_lattice::meet_with): Remove unreachable code. + 2016-11-05 Martin Sebor * doc/invoke.texi (Warning Options): Correct typos in -Walloca diff --git a/gcc/ipa-cp.c b/gcc/ipa-cp.c index 1dc5cb6749a..527ff278696 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 (); -- 2.30.2