* tree-object-size.c (unknown): Use HOST_WIDE_INT_M1U instead of -1.

From-SVN: r238581
This commit is contained in:
Jakub Jelinek 2016-07-21 09:47:44 +02:00 committed by Jakub Jelinek
parent ee78cbaa89
commit a43068ccbb
2 changed files with 10 additions and 1 deletions

View 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.

View 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 *,