diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2014-12-12 15:46:57 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2014-12-12 15:46:57 +0000 |
commit | 4db4954fc5495758817fdc8c0dc3d29f82509589 (patch) | |
tree | b4ad83f4876c83d62f4f1ff43d1f923c4cd90840 /gcc/cp/lambda.c | |
parent | 8f596ff51a4177ce494b6567c83a2fa0bbf12c71 (diff) | |
download | gcc-4db4954fc5495758817fdc8c0dc3d29f82509589.zip gcc-4db4954fc5495758817fdc8c0dc3d29f82509589.tar.gz gcc-4db4954fc5495758817fdc8c0dc3d29f82509589.tar.bz2 |
re PR middle-end/64182 (wide-int rounding division is broken)
gcc/
PR middle-end/64182
* wide-int.h (wi::div_round, wi::mod_round): Fix rounding of tied
cases.
* double-int.c (div_and_round_double): Fix handling of unsigned
cases. Use same rounding approach as wide-int.h.
gcc/testsuite/
2014-xx-xx Richard Sandiford <richard.sandiford@arm.com>
Joseph Myers <joseph@codesourcery.com>
PR middle-end/64182
* gcc.dg/plugin/wide-int-test-1.c,
gcc.dg/plugin/wide-int_plugin.c: New test.
* gcc.dg/plugin/plugin.exp: Register it.
* gnat.dg/round_div.adb: New test.
Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
From-SVN: r218678
Diffstat (limited to 'gcc/cp/lambda.c')
0 files changed, 0 insertions, 0 deletions