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
This commit is contained in:
Michael Matz 2015-11-19 16:12:50 +00:00 committed by Michael Matz
parent 381846b1ca
commit 1e1ce42e72
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2015-11-19 Michael Matz <matz@suse.de>
* fwprop.c (update_uses): Use flag_checking instead of
gcc_checking_assert.
2015-11-19 David Malcolm <dmalcolm@redhat.com>
* doc/gty.texi (Support for inheritance): Fix missing

View file

@ -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];
}
}