This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r241908 - in /trunk/gcc: ChangeLog print-rtl.c ...


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]