* tree-eh.c (mark_reachable_handlers): Fix typo in assert.
authorRichard Henderson <rth@redhat.com>
Wed, 28 Oct 2015 18:15:20 +0000 (11:15 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 28 Oct 2015 18:15:20 +0000 (11:15 -0700)
From-SVN: r229497

gcc/ChangeLog
gcc/tree-eh.c

index 791aaf8fb65e6018604e8b5ddc08801fd67f07fd..5272d5233405356ebda7fffee5d13e536e9b392d 100644 (file)
@@ -1,3 +1,7 @@
+2015-10-28  Richard Henderson  <rth@redhat.com>
+
+       * tree-eh.c (mark_reachable_handlers): Fix typo in assert.
+
 2015-10-05  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
 
        PR target/67839
index f6c2d06f39be10f9d5f23e309407f344992eb46e..817beedd0a6e0836e14ebc0f21cfbd2a58c27533 100644 (file)
@@ -3857,7 +3857,7 @@ mark_reachable_handlers (sbitmap *r_reachablep, sbitmap *lp_reachablep)
                    tree rt = gimple_call_arg (stmt, i);
                    HOST_WIDE_INT ri = tree_to_shwi (rt);
 
-                   gcc_assert (ri = (int)ri);
+                   gcc_assert (ri == (int)ri);
                    bitmap_set_bit (r_reachable, ri);
                  }
              break;