diff options
author | Georg-Johann Lay <avr@gjlay.de> | 2024-08-28 11:18:45 +0200 |
---|---|---|
committer | Georg-Johann Lay <avr@gjlay.de> | 2024-08-29 12:46:42 +0200 |
commit | bd2ccc24420c0789a3ad0b49d0ea4c2e7653afae (patch) | |
tree | 5c57c4c17d1f9a4b6b577c0c10618a3e97206130 /gcc/config.gcc | |
parent | 4b729d2ff3259e5b1d40f93d4f9e7edf5f0064f4 (diff) | |
download | gcc-bd2ccc24420c0789a3ad0b49d0ea4c2e7653afae.zip gcc-bd2ccc24420c0789a3ad0b49d0ea4c2e7653afae.tar.gz gcc-bd2ccc24420c0789a3ad0b49d0ea4c2e7653afae.tar.bz2 |
AVR: Outsource code for avr-specific passes to new avr-passes.cc.
gcc/
* config.gcc (extra_objs) [target=avr]: Add avr-passes.o.
* config/avr/t-avr (avr-passes.o): New rule to make it.
* config/avr/avr.cc (#define INCLUDE_VECTOR): Remove.
(cfganal.h, cfgrtl.h, context.h, tree-pass.h, print-rtl.h): Don't
include them.
(avr_strict_signed_p, avr_strict_unsigned_p, avr_2comparisons_rhs)
(make_avr_pass_recompute_notes, make_avr_pass_casesi)
(make_avr_pass_ifelse, make_avr_pass_pre_proep, avr_split_tiny_move)
(emit_move_ccc, emit_move_ccc_after, reg_seen_between_p)
(avr_maybe_adjust_cfa, avr_redundant_compare_regs)
(avr_parallel_insn_from_insns, avr_is_casesi_sequence)
(avr_optimize_casesi, avr_redundant_compare, make_avr_pass_fuse_add)
(avr_optimize_2ifelse, avr_rest_of_handle_ifelse)
(avr_casei_sequence_check_operands)
Move functions...
(avr_pass_data_fuse_add, avr_pass_data_ifelse)
(avr_pass_data_casesi, avr_pass_data_recompute_notes)
(avr_pass_data_pre_proep): Move objects...
(avr_pass_fuse_add, avr_pass_pre_proep, avr_pass_recompute_notes)
(avr_pass_ifelse, avr_pass_casesi, AVR_LdSt_Props): Move classes...
* config/avr/avr-passes.cc: ... to this new C++ module.
(struct Ranges): Move to...
* config/avr/ranges.h: ...this new file.
* config/avr/avr-protos.h: Adjust comments.
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index e887c9c..08291f4 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -1662,7 +1662,7 @@ avr-*-*) tmake_file="${tmake_file} avr/t-avr avr/t-multilib" use_gcc_stdint=wrap extra_gcc_objs="driver-avr.o avr-devices.o" - extra_objs="avr-devices.o avr-log.o" + extra_objs="avr-devices.o avr-log.o avr-passes.o" ;; bfin*-elf*) tm_file="${tm_file} elfos.h newlib-stdint.h bfin/elf.h" |