@@ -1,3 +1,8 @@
+2010-08-12 Sebastian Pop <sebastian.pop@amd.com>
+
+ * graphite-clast-to-gimple.c (precision_for_value): Adjust
+ computation of precision by 1.
+
2010-09-30 Riyadh Baghdadi <baghdadi.mr@gmail.com>
* graphite-cloog-util.c (openscop_read_cloog_matrix): New.
@@ -1,3 +1,8 @@
+2010-08-12 Sebastian Pop <sebastian.pop@amd.com>
+
+ * graphite-clast-to-gimple.c (precision_for_value): Adjust
+ computation of precision by 1.
+
2010-08-12 Riyadh Baghdadi <baghdadi.mr@gmail.com>
* graphite-cloog-util.c (openscop_read_cloog_matrix): New.
@@ -415,7 +415,7 @@ precision_for_value (mpz_t val)
if (mpz_sgn (y) < 0)
mpz_neg (y, y);
- while (mpz_cmp (y, x) > 0)
+ while (mpz_cmp (y, x) >= 0)
{
mpz_mul (x, x, two);
precision++;
From: spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> 2010-08-12 Sebastian Pop <sebastian.pop@amd.com> * graphite-clast-to-gimple.c (precision_for_value): Adjust computation of precision by 1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/graphite@163214 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/ChangeLog.graphite | 5 +++++ gcc/graphite-clast-to-gimple.c | 2 +- 3 files changed, 11 insertions(+), 1 deletions(-)