From 1e1ce42e7224ff9ebf8ad82178894f4f0ccfb9eb Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Thu, 19 Nov 2015 16:12:50 +0000 Subject: [PATCH] fwprop.c (update_uses): Use flag_checking instead of gcc_checking_assert. * fwprop.c (update_uses): Use flag_checking instead of gcc_checking_assert. From-SVN: r230612 --- gcc/ChangeLog | 5 +++++ gcc/fwprop.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bca577e177e..de3318c5540 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-11-19 Michael Matz + + * fwprop.c (update_uses): Use flag_checking instead of + gcc_checking_assert. + 2015-11-19 David Malcolm * doc/gty.texi (Support for inheritance): Fix missing diff --git a/gcc/fwprop.c b/gcc/fwprop.c index a500e18264c..863e35de600 100644 --- a/gcc/fwprop.c +++ b/gcc/fwprop.c @@ -893,7 +893,8 @@ update_uses (df_ref use) if (DF_REF_ID (use) >= (int) use_def_ref.length ()) use_def_ref.safe_grow_cleared (DF_REF_ID (use) + 1); - gcc_checking_assert (sparseset_bit_p (active_defs_check, regno)); + if (flag_checking) + gcc_assert (sparseset_bit_p (active_defs_check, regno)); use_def_ref[DF_REF_ID (use)] = active_defs[regno]; } } -- 2.30.2