]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: double-int.c (div_and_round_double): Use the proper predicate to detect...
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 28 May 2014 16:46:07 +0000 (16:46 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 28 May 2014 16:46:07 +0000 (16:46 +0000)
commit35b3fccbc2c15ada128b9cf3efa789872da384d9
treec373b973958c40c1108fb878c8edf998ad591f0e
parent20a50ad8f637e8a8710531d50724a10f1adc2cfc
backport: double-int.c (div_and_round_double): Use the proper predicate to detect a negative quotient.

Backport from mainline
2014-05-27  Eric Botcazou  <ebotcazou@adacore.com>

* double-int.c (div_and_round_double) <ROUND_DIV_EXPR>: Use the proper
predicate to detect a negative quotient.

From-SVN: r211028
gcc/ChangeLog
gcc/double-int.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/overflow_fixed.adb [new file with mode: 0644]