r218678 - in /trunk/gcc: ChangeLog double-int.c...
rsandifo@gcc.gnu.org
rsandifo@gcc.gnu.org
Fri Dec 12 15:46:00 GMT 2014
Author: rsandifo
Date: Fri Dec 12 15:46:57 2014
New Revision: 218678
URL: https://gcc.gnu.org/viewcvs?rev=218678&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gcc.dg/plugin/wide-int-test-1.c
trunk/gcc/testsuite/gcc.dg/plugin/wide-int_plugin.c
trunk/gcc/testsuite/gnat.dg/round_div.adb
Modified:
trunk/gcc/ChangeLog
trunk/gcc/double-int.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/plugin/plugin.exp
trunk/gcc/wide-int.h
More information about the Gcc-cvs
mailing list