aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2023-06-02 11:55:05 +0200
committerUros Bizjak <ubizjak@gmail.com>2023-06-02 16:17:46 +0200
commit99566c0c6b8802ba1d0baeebba3581563cf8a09f (patch)
tree9ff5ac97574cdca22456844afb925a2840707057 /gcc/cp
parente7cc4d703bceb9095316c106eba0d1939c6c8044 (diff)
downloadgcc-99566c0c6b8802ba1d0baeebba3581563cf8a09f.zip
gcc-99566c0c6b8802ba1d0baeebba3581563cf8a09f.tar.gz
gcc-99566c0c6b8802ba1d0baeebba3581563cf8a09f.tar.bz2
reg-stack: Change return type of predicate functions from int to bool
Also change some internal variables to bool and recode handling of boolean varialbes to not use bitwise or. gcc/ChangeLog: * rtl.h (stack_regs_mentioned): Change return type from int to bool. * reg-stack.cc (struct_block_info_def): Change "done" to bool. (stack_regs_mentioned_p): Change return type from int to bool and adjust function body accordingly. (stack_regs_mentioned): Ditto. (check_asm_stack_operands): Ditto. Change "malformed_asm" variable to bool. (move_for_stack_reg): Recode handling of control_flow_insn_deleted. (swap_rtx_condition_1): Change return type from int to bool and adjust function body accordingly. Change "r" variable to bool. (swap_rtx_condition): Change return type from int to bool and adjust function body accordingly. (subst_stack_regs_pat): Recode handling of control_flow_insn_deleted. (subst_stack_regs): Ditto. (convert_regs_entry): Change return type from int to bool and adjust function body accordingly. Change "inserted" variable to bool. (convert_regs_1): Recode handling of control_flow_insn_deleted. (convert_regs_2): Recode handling of cfg_altered. (convert_regs): Ditto. Change "inserted" variable to bool.
Diffstat (limited to 'gcc/cp')
0 files changed, 0 insertions, 0 deletions