]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[PR 90939] Remove outdated assert in ipcp_bits_lattice::meet_with
authorMartin Jambor <mjambor@suse.cz>
Thu, 27 Jun 2019 11:26:52 +0000 (13:26 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Thu, 27 Jun 2019 11:26:52 +0000 (13:26 +0200)
2019-06-27  Martin Jambor  <mjambor@suse.cz>

PR ipa/90939
* ipa-cp.c (ipcp_bits_lattice::meet_with): Remove assert.

From-SVN: r272747

gcc/ChangeLog
gcc/ipa-cp.c

index 32834030cfc805bf4c99a5383644416763420756..853191aa7cce6449b91eed4bdb702d7b4f4cb3ca 100644 (file)
@@ -1,3 +1,11 @@
+2019-06-27  Martin Jambor  <mjambor@suse.cz>
+
+       Backport from mainline
+       2019-06-25  Martin Jambor  <mjambor@suse.cz>
+
+       PR ipa/90939
+       * ipa-cp.c (ipcp_bits_lattice::meet_with): Remove assert.
+
 2019-06-16  John David Anglin  <danglin@gcc.gnu.org>
 
        PR middle-end/64242
index 56a95754c7f2540de8daca3d992db217c4160ab8..42bc256169cfbd5066f33a55848bc40dec5c7289 100644 (file)
@@ -1072,7 +1072,6 @@ ipcp_bits_lattice::meet_with (ipcp_bits_lattice& other, unsigned precision,
   if (TREE_CODE_CLASS (code) == tcc_binary)
     {
       tree type = TREE_TYPE (operand);
-      gcc_assert (INTEGRAL_TYPE_P (type));
       widest_int o_value, o_mask;
       get_value_and_mask (operand, &o_value, &o_mask);