ipa-cp.c (ipcp_bits_lattice::meet_with): Remove unreachable code.
authorKugan Vivekanandarajah <kuganv@linaro.org>
Sun, 6 Nov 2016 08:25:36 +0000 (08:25 +0000)
committerKugan Vivekanandarajah <kugan@gcc.gnu.org>
Sun, 6 Nov 2016 08:25:36 +0000 (08:25 +0000)
2016-11-06  Kugan Vivekanandarajah  <kuganv@linaro.org>

* ipa-cp.c (ipcp_bits_lattice::meet_with): Remove unreachable code.

From-SVN: r241883

gcc/ChangeLog
gcc/ipa-cp.c

index e2106f563a1c7393cdd6338fd16fb7bc7f38ec35..71f3066c2dbc808fa063c58961a89c1951ec7548 100644 (file)
@@ -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
index 1dc5cb6749ab4f0d674f4ba70e93a7ebb539223c..527ff278696f96acc3cfc7b9d9e3fbfe700b6391 100644 (file)
@@ -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 ();