* tree-object-size.c (unknown): Use HOST_WIDE_INT_M1U instead of -1.
authorJakub Jelinek <jakub@redhat.com>
Thu, 21 Jul 2016 07:47:44 +0000 (09:47 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 21 Jul 2016 07:47:44 +0000 (09:47 +0200)
From-SVN: r238581

gcc/ChangeLog
gcc/tree-object-size.c

index 23a54e2ed752a3d8e5881d1fbdd1f54afd72343c..92befe8bdb8e6d50d3be0fc7ad1527efa0c0e83a 100644 (file)
@@ -1,3 +1,7 @@
+2016-07-21  Jakub Jelinek  <jakub@redhat.com>
+
+       * tree-object-size.c (unknown): Use HOST_WIDE_INT_M1U instead of -1.
+
 2016-07-21  Andrew Sutton  <andrew.n.sutton@gmail.com>
 
        Improving concepts performance and diagnostics.
index 5e8ced63a2e326bfe7ff61c929c25c91bcedfba5..c08845184bb8da996afc2659f0bb07d7221cb908 100644 (file)
@@ -43,7 +43,12 @@ struct object_size_info
   unsigned int *stack, *tos;
 };
 
-static const unsigned HOST_WIDE_INT unknown[4] = { -1, -1, 0, 0 };
+static const unsigned HOST_WIDE_INT unknown[4] = {
+  HOST_WIDE_INT_M1U,
+  HOST_WIDE_INT_M1U,
+  0,
+  0
+};
 
 static tree compute_object_offset (const_tree, const_tree);
 static unsigned HOST_WIDE_INT addr_object_size (struct object_size_info *,