New avr-passes.def to register AVR specific passes.
authorGeorg-Johann Lay <avr@gjlay.de>
Tue, 11 Oct 2016 08:02:48 +0000 (08:02 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Tue, 11 Oct 2016 08:02:48 +0000 (08:02 +0000)
commit76beabf41a6e89bc773ede6c7709d41b3be14821
treee0b440c80cd14688bfa45f4afb4b3ac2664396e3
parent7c507664891d053d0e95e3c7f179a2043c2b1210
New avr-passes.def to register AVR specific passes.

* config/avr/avr-passes.def: New file.
* config/avr/t-avr (PASSES_EXTRA): Add avr-passes.def.
* config/avr/avr-protos.h (gcc::context, rtl_opt_pass): Declare.
(make_avr_pass_recompute_note): New proto.
* config/avr/avr.c (make_avr_pass_recompute_notes): New function.
(avr_pass_recompute_notes): Use anonymous namespace.
(avr_register_passes): Remove function...
(avr_option_override): ...and its call.

From-SVN: r240966
gcc/ChangeLog
gcc/config/avr/avr-passes.def [new file with mode: 0644]
gcc/config/avr/avr-protos.h
gcc/config/avr/avr.c
gcc/config/avr/t-avr