diff options
author | Michael Matz <matz@suse.de> | 2015-11-19 16:12:50 +0000 |
---|---|---|
committer | Michael Matz <matz@gcc.gnu.org> | 2015-11-19 16:12:50 +0000 |
commit | 1e1ce42e7224ff9ebf8ad82178894f4f0ccfb9eb (patch) | |
tree | 358d66f2b57f1827f45ba26bcaf83a1b33c8f466 /gcc/fwprop.c | |
parent | 381846b1ca0d683164ba8f025a8c28da39ed3a49 (diff) | |
download | gcc-1e1ce42e7224ff9ebf8ad82178894f4f0ccfb9eb.zip gcc-1e1ce42e7224ff9ebf8ad82178894f4f0ccfb9eb.tar.gz gcc-1e1ce42e7224ff9ebf8ad82178894f4f0ccfb9eb.tar.bz2 |
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
Diffstat (limited to 'gcc/fwprop.c')
-rw-r--r-- | gcc/fwprop.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/fwprop.c b/gcc/fwprop.c index a500e18..863e35d 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]; } } |