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]

r254135 - in /branches/range-gen3/gcc: ChangeLo...


Author: aldyh
Date: Fri Oct 27 06:41:55 2017
New Revision: 254135

URL: https://gcc.gnu.org/viewcvs?rev=254135&root=gcc&view=rev
Log:
Stop print_hex from printing bits above the precision

2017-10-26  Richard Sandiford  <richard.sandiford@linaro.org>

gcc/
	* wide-int-print.cc (print_hex): Loop based on extract_uhwi.
	Don't print any bits outside the precision of the value.
	* wide-int.cc (test_printing): Add some new tests.

Modified:
    branches/range-gen3/gcc/ChangeLog
    branches/range-gen3/gcc/wide-int-print.cc
    branches/range-gen3/gcc/wide-int.cc


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