Use sizetype instead of unsigned_type_node.
authorSebastian Pop <sebastian.pop@amd.com>
Mon, 8 Mar 2010 17:50:03 +0000 (17:50 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Mon, 8 Mar 2010 17:50:03 +0000 (17:50 +0000)
2010-03-05  Sebastian Pop  <sebastian.pop@amd.com>

* graphite-sese-to-poly.c (add_param_constraints): Use sizetype
instead of unsigned_type_node.

From-SVN: r157290

gcc/ChangeLog.graphite
gcc/graphite-sese-to-poly.c

index c3d82202becab82435adadd513c611f03ed2aad6..57176add47ff6fe64d505c928f227c9af7661dc2 100644 (file)
@@ -1,3 +1,8 @@
+2010-03-05  Sebastian Pop  <sebastian.pop@amd.com>
+
+       * graphite-sese-to-poly.c (add_param_constraints): Use sizetype
+       instead of unsigned_type_node.
+
 2010-03-05  Sebastian Pop  <sebastian.pop@amd.com>
            Reza Yazdani  <reza.yazdani@amd.com>
 
index 89330727337d9e758ef1afb672e2fbe92e492764..99d83d6bf3a67a09d1c72d773e5bbf9475a5eafa 100644 (file)
@@ -1509,8 +1509,8 @@ add_param_constraints (scop_p scop, ppl_Polyhedron_t context, graphite_dim_t p)
     }
   else if (POINTER_TYPE_P (type))
     {
-      lb = TYPE_MIN_VALUE (unsigned_type_node);
-      ub = TYPE_MAX_VALUE (unsigned_type_node);
+      lb = TYPE_MIN_VALUE (sizetype);
+      ub = TYPE_MAX_VALUE (sizetype);
     }
 
   if (lb)