From: Kugan Vivekanandarajah Date: Sun, 6 Nov 2016 08:25:36 +0000 (+0000) Subject: ipa-cp.c (ipcp_bits_lattice::meet_with): Remove unreachable code. X-Git-Tag: basepoints/gcc-8~3360 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ddd4af5f49b9cc6600ccb5adfa1f00f784709e2;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e2106f563a1c..71f3066c2dbc 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 1dc5cb6749ab..527ff278696f 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 ();