aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2023-06-28 10:22:20 +0200
committerUros Bizjak <ubizjak@gmail.com>2023-06-28 16:30:26 +0200
commit8719ab0d01d5a73767e34f88691c812db03e1449 (patch)
tree1cc80ed4b07d7fc1f814eaa8e684b8d4801c256b /gcc/expr.cc
parent893883f2f8f56984209c6ed210ee992ff71a14b0 (diff)
downloadgcc-8719ab0d01d5a73767e34f88691c812db03e1449.zip
gcc-8719ab0d01d5a73767e34f88691c812db03e1449.tar.gz
gcc-8719ab0d01d5a73767e34f88691c812db03e1449.tar.bz2
final+varasm: Change return type of predicate functions from int to bool
Also change some internal variables to bool and change return type of compute_alignments to void. gcc/ChangeLog: * output.h (leaf_function_p): Change return type from int to bool. (final_forward_branch_p): Ditto. (only_leaf_regs_used): Ditto. (maybe_assemble_visibility): Ditto. * varasm.h (supports_one_only): Ditto. * rtl.h (compute_alignments): Change return type from int to void. * final.cc (app_on): Change return type from int to bool. (compute_alignments): Change return type from int to void and adjust function body accordingly. (shorten_branches): Change "something_changed" variable type from int to bool. (leaf_function_p): Change return type from int to bool and adjust function body accordingly. (final_forward_branch_p): Ditto. (only_leaf_regs_used): Ditto. * varasm.cc (contains_pointers_p): Change return type from int to bool and adjust function body accordingly. (compare_constant): Ditto. (maybe_assemble_visibility): Ditto. (supports_one_only): Ditto.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions