]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR target/50566 ([avr]: Add support for better logging similar to -mdeb)
authorGeorg-Johann Lay <avr@gjlay.de>
Thu, 29 Sep 2011 16:24:57 +0000 (16:24 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Thu, 29 Sep 2011 16:24:57 +0000 (16:24 +0000)
commitab758510b21e7cbb0d08ba6a6b63bb8f9ee1a121
tree1d1f74506ecc51c8e605cf4724167644add18e1e
parent39ffb1f923eeab711e43949d0fc289fe36fed2e2
re PR target/50566 ([avr]: Add support for better logging similar to -mdeb)

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.

From-SVN: r179359
gcc/ChangeLog
gcc/config/avr/avr-log.c
gcc/config/avr/avr.c