aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gimple.h')
-rw-r--r--gcc/gimple.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/gimple.h b/gcc/gimple.h
index 977ff1c..2688846 100644
--- a/gcc/gimple.h
+++ b/gcc/gimple.h
@@ -1667,7 +1667,8 @@ extern bool nonfreeing_call_p (gimple *);
extern bool nonbarrier_call_p (gimple *);
extern bool infer_nonnull_range (gimple *, tree);
extern bool infer_nonnull_range_by_dereference (gimple *, tree);
-extern bool infer_nonnull_range_by_attribute (gimple *, tree, tree * = NULL);
+extern bool infer_nonnull_range_by_attribute (gimple *, tree, tree * = NULL,
+ tree * = NULL);
extern void sort_case_labels (vec<tree> &);
extern void preprocess_case_label_vec_for_gimple (vec<tree> &, tree, tree *);
extern void gimple_seq_set_location (gimple_seq, location_t);
@@ -3716,6 +3717,7 @@ gimple_cond_code (const gimple *gs)
inline void
gimple_cond_set_code (gcond *gs, enum tree_code code)
{
+ gcc_gimple_checking_assert (TREE_CODE_CLASS (code) == tcc_comparison);
gs->subcode = code;
}