OSDN Git Service

Use sizetype instead of unsigned_type_node.
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Mar 2010 17:50:03 +0000 (17:50 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157290 138bc75d-0d04-0410-961f-82ee72b054a4

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

index c3d8220..57176ad 100644 (file)
@@ -1,4 +1,9 @@
 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>
 
        PR middle-end/43065
index 8933072..99d83d6 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)