aboutsummaryrefslogtreecommitdiff
path: root/gcc/emit-rtl.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2010-06-09 17:41:23 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2010-06-09 15:41:23 +0000
commit0679526118b2b34120b7a1054245fe269d19e8ee (patch)
treea4c4e0746614916994fd84f1f77c014d6733416d /gcc/emit-rtl.h
parentded396e753b304ffc3f32b91ccff3b816f478547 (diff)
downloadgcc-0679526118b2b34120b7a1054245fe269d19e8ee.zip
gcc-0679526118b2b34120b7a1054245fe269d19e8ee.tar.gz
gcc-0679526118b2b34120b7a1054245fe269d19e8ee.tar.bz2
cgraph.h (varpool_first_static_initializer, [...]): Make checking only when checking enabled.
* cgraph.h (varpool_first_static_initializer, varpool_next_static_initializer): Make checking only when checking enabled. * tree-vectorizer.h (vinfo_for_stmt): Remove check. (set_vinfo_for_stmt, get_earlier_stmt, is_loop_header_bb_p): Change gcc_assert to gcc_checking_assert. * tree-flow-inline.h (gimple_vop, get_var_ann, relink_imm_use, phi_nodes set_phi_nodes, phi_arg_index_from_use, op_iter_next_use, op_iter_next_def, op_iter_next_tree, op_iter_init, op_iter_init_use, op_iter_init_phiuse, op_iter_init_phidef, array_ref_contains_indirect_ref, ref_contains_array_ref): Use gcc_checking_assert. * emit-rtl.h (set_first_insn, set_last_insn): Likewise. * tree-ssa-live.h (var_to_partition, var_to_partition_to_var, partition_is_global, live_on_entry, live_on_exit, live_merge_and_clear): Likewise. * system.h (gcc_checking_assert): New macro. From-SVN: r160489
Diffstat (limited to 'gcc/emit-rtl.h')
-rw-r--r--gcc/emit-rtl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/emit-rtl.h b/gcc/emit-rtl.h
index 704f901..1b2c162 100644
--- a/gcc/emit-rtl.h
+++ b/gcc/emit-rtl.h
@@ -76,7 +76,7 @@ get_insns (void)
static inline void
set_first_insn (rtx insn)
{
- gcc_assert (!insn || !PREV_INSN (insn));
+ gcc_checking_assert (!insn || !PREV_INSN (insn));
crtl->emit.x_first_insn = insn;
}
@@ -93,7 +93,7 @@ get_last_insn (void)
static inline void
set_last_insn (rtx insn)
{
- gcc_assert (!insn || !NEXT_INSN (insn));
+ gcc_checking_assert (!insn || !NEXT_INSN (insn));
crtl->emit.x_last_insn = insn;
}