From 3754c8fe366db7571e61ba914d99a41dc7222e65 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Wed, 28 Oct 2015 11:15:20 -0700 Subject: [PATCH] * tree-eh.c (mark_reachable_handlers): Fix typo in assert. From-SVN: r229497 --- gcc/ChangeLog | 4 ++++ gcc/tree-eh.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 791aaf8fb65..5272d523340 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-10-28 Richard Henderson + + * tree-eh.c (mark_reachable_handlers): Fix typo in assert. + 2015-10-05 Senthil Kumar Selvaraj PR target/67839 diff --git a/gcc/tree-eh.c b/gcc/tree-eh.c index f6c2d06f39b..817beedd0a6 100644 --- a/gcc/tree-eh.c +++ b/gcc/tree-eh.c @@ -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; -- 2.30.2