2011/9/29 Georg-Johann Lay <a...@gjlay.de>: > This is the second patch in this series. > > Functions that formerly used fprintf/debug_rtx now use avr_edump and the use > sites of TARGET_ALL_DEBUG are mapped to respective flags of avr_log. > > avr_log_vadump uses %b to print bool. > > The patch adds outputs for the results of avr_rtx_costs and wraps the worker > function. > > Ok to apply? > > Johann > > PR target/50566 > * config/avr/avr-log.c (avr_log_vadump): Use %b to print bool. > * config/avr/avr.c (avr_rtx_costs_1): New static function, renamed > from avr_rtx_costs. > (avr_legitimate_address_p): Use avr_edump to print log information > filtered by avr_log. > (extra_constraint_Q): Ditto. > (avr_legitimize_address): Ditto. > (avr_rtx_costs): Ditto. Rewrite as wrapper for avr_rtx_costs_1. > (final_prescan_insn): Use avr_log.rtx_costs as filter.
Approved. Denis.