diff options
author | Georg-Johann Lay <avr@gjlay.de> | 2024-11-19 14:19:53 +0100 |
---|---|---|
committer | Georg-Johann Lay <avr@gjlay.de> | 2024-11-19 18:26:44 +0100 |
commit | 49f4e96996e319d4c99a890597316c57188e2159 (patch) | |
tree | d2e0b8aed2583854dfcd92aa7f4f612a09e639ee /gcc/range-op.cc | |
parent | c9530a0e24e35a6fdce91b2002b798f44b62fd44 (diff) | |
download | gcc-49f4e96996e319d4c99a890597316c57188e2159.zip gcc-49f4e96996e319d4c99a890597316c57188e2159.tar.gz gcc-49f4e96996e319d4c99a890597316c57188e2159.tar.bz2 |
AVR: Use more bool.
Now that the C default is C23, we can use bool in avr.h
(which is still used in libgcc via tm.h).
bool is a keyword in C23, so no stdbool.h is required in libgcc.
gcc/
* config/avr/avr.h (avr_args.has_stack_args): Be a bool.
(struct machine_function) <is_naked, is_noblock, is_OS_task,
is_OS_task, sibcall_fails, attributes_checked_p, is_no_gccisr,
use_L__stack_usage, gasisr.yes, gasisr.maybe>: Same.
* config/avr/avr-protos.h (reg_unused_after)
(test_hard_reg_class, jump_over_one_insn_p): Use bool as
return type.
* config/avr/avr.cc (reg_unused_after)
(test_hard_reg_class, jump_over_one_insn_p): Same.
(cfun->machine->attributes_checked_p, cum->has_stack_args)
(cfun->machine->use_L__stack_usage, cfun->machine->gasisr.yes)
(cfun->machine->sibcall_fails): Use like a bool.
Diffstat (limited to 'gcc/range-op.cc')
0 files changed, 0 insertions, 0 deletions