2016-10-10 16:36 GMT+03:00 Georg-Johann Lay <a...@gjlay.de>: > This is a code clean-up using the new <target>-passes.def feature in order > to register avr target passes and to get -fdump-xxx etc. to work for such > passes. > > Ok for trunk? > > Johann > > * 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.
Please, apply. Denis.