aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple.cc
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2023-08-25 10:16:21 +0200
committerUros Bizjak <ubizjak@gmail.com>2023-08-25 15:28:29 +0200
commit3339220b9b0897c7e1cc887c5cb0a24ab4baf4ff (patch)
tree7187b4afc0ddddcdb892c8e85f587cf3a0eff361 /gcc/gimple.cc
parent99a3fcb8ff0bf27407c525415384372189e2c3cc (diff)
downloadgcc-3339220b9b0897c7e1cc887c5cb0a24ab4baf4ff.zip
gcc-3339220b9b0897c7e1cc887c5cb0a24ab4baf4ff.tar.gz
gcc-3339220b9b0897c7e1cc887c5cb0a24ab4baf4ff.tar.bz2
gcc: Rename TRUE/FALSE to true/false in *.cc files
gcc/c-family/ChangeLog: * c-format.cc (read_any_format_width): Rename TRUE/FALSE to true/false. gcc/ChangeLog: * caller-save.cc (new_saved_hard_reg): Rename TRUE/FALSE to true/false. (setup_save_areas): Ditto. * gcc.cc (set_collect_gcc_options): Ditto. (driver::build_multilib_strings): Ditto. (print_multilib_info): Ditto. * genautomata.cc (gen_cpu_unit): Ditto. (gen_query_cpu_unit): Ditto. (gen_bypass): Ditto. (gen_excl_set): Ditto. (gen_presence_absence_set): Ditto. (gen_presence_set): Ditto. (gen_final_presence_set): Ditto. (gen_absence_set): Ditto. (gen_final_absence_set): Ditto. (gen_automaton): Ditto. (gen_regexp_repeat): Ditto. (gen_regexp_allof): Ditto. (gen_regexp_oneof): Ditto. (gen_regexp_sequence): Ditto. (process_decls): Ditto. (reserv_sets_are_intersected): Ditto. (initiate_excl_sets): Ditto. (form_reserv_sets_list): Ditto. (check_presence_pattern_sets): Ditto. (check_absence_pattern_sets): Ditto. (check_regexp_units_distribution): Ditto. (check_unit_distributions_to_automata): Ditto. (create_ainsns): Ditto. (output_insn_code_cases): Ditto. (output_internal_dead_lock_func): Ditto. (form_important_insn_automata_lists): Ditto. * gengtype-state.cc (read_state_files_list): Ditto. * gengtype.cc (main): Ditto. * gimple-array-bounds.cc (array_bounds_checker::check_array_bounds): Ditto. * gimple.cc (gimple_build_call_from_tree): Ditto. (preprocess_case_label_vec_for_gimple): Ditto. * gimplify.cc (gimplify_call_expr): Ditto. * ordered-hash-map-tests.cc (test_map_of_int_to_strings): Ditto. gcc/cp/ChangeLog: * call.cc (build_conditional_expr): Rename TRUE/FALSE to true/false. (build_new_op): Ditto.
Diffstat (limited to 'gcc/gimple.cc')
-rw-r--r--gcc/gimple.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/gimple.cc b/gcc/gimple.cc
index e0ba42a..f3b941e 100644
--- a/gcc/gimple.cc
+++ b/gcc/gimple.cc
@@ -415,7 +415,7 @@ gimple_build_call_from_tree (tree t, tree fnptrtype)
tree fntype = TREE_TYPE (fnptrtype);
if (lookup_attribute ("nocf_check", TYPE_ATTRIBUTES (fntype)))
- gimple_call_set_nocf_check (call, TRUE);
+ gimple_call_set_nocf_check (call, true);
}
}
@@ -3187,7 +3187,7 @@ preprocess_case_label_vec_for_gimple (vec<tree> &labels,
tree elt = labels[i];
tree low = CASE_LOW (elt);
tree high = CASE_HIGH (elt);
- bool remove_element = FALSE;
+ bool remove_element = false;
if (low)
{
@@ -3211,7 +3211,7 @@ preprocess_case_label_vec_for_gimple (vec<tree> &labels,
into a simple (one-value) case. */
int cmp = tree_int_cst_compare (high, low);
if (cmp < 0)
- remove_element = TRUE;
+ remove_element = true;
else if (cmp == 0)
high = NULL_TREE;
}
@@ -3223,7 +3223,7 @@ preprocess_case_label_vec_for_gimple (vec<tree> &labels,
&& tree_int_cst_compare (low, min_value) < 0)
|| (TREE_CODE (max_value) == INTEGER_CST
&& tree_int_cst_compare (low, max_value) > 0))
- remove_element = TRUE;
+ remove_element = true;
else
low = fold_convert (index_type, low);
}
@@ -3234,7 +3234,7 @@ preprocess_case_label_vec_for_gimple (vec<tree> &labels,
&& tree_int_cst_compare (high, min_value) < 0)
|| (TREE_CODE (max_value) == INTEGER_CST
&& tree_int_cst_compare (low, max_value) > 0))
- remove_element = TRUE;
+ remove_element = true;
else
{
/* If the lower bound is less than the index type's
@@ -3269,7 +3269,7 @@ preprocess_case_label_vec_for_gimple (vec<tree> &labels,
is NULL, we do not remove the default case (it would
be completely lost). */
if (default_casep)
- remove_element = TRUE;
+ remove_element = true;
}
if (remove_element)