r241908 - in /trunk/gcc: ChangeLog print-rtl.c ...
dmalcolm@gcc.gnu.org
dmalcolm@gcc.gnu.org
Mon Nov 7 15:19:00 GMT 2016
Author: dmalcolm
Date: Mon Nov 7 15:19:17 2016
New Revision: 241908
URL: https://gcc.gnu.org/viewcvs?rev=241908&root=gcc&view=rev
Log:
rtx_writer: avoid printing trailing default values
gcc/ChangeLog:
* print-rtl.c (rtx_writer::operand_has_default_value_p): New
method.
(rtx_writer::print_rtx): In compact mode, omit trailing operands
that have the default values.
* print-rtl.h (rtx_writer::operand_has_default_value_p): New
method.
* rtl-tests.c (selftest::test_dumping_insns): Remove empty
label string from expected dump.
(seltest::test_uncond_jump): Remove trailing "(nil)" for REG_NOTES
from expected dump.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/print-rtl.c
trunk/gcc/print-rtl.h
trunk/gcc/rtl-tests.c
More information about the Gcc-cvs
mailing list