This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r254135 - in /branches/range-gen3/gcc: ChangeLo...
- From: aldyh at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 27 Oct 2017 06:41:56 -0000
- Subject: 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