From a43068ccbbdcb199d77254133cbdf576931e4d47 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 21 Jul 2016 09:47:44 +0200 Subject: [PATCH] * tree-object-size.c (unknown): Use HOST_WIDE_INT_M1U instead of -1. From-SVN: r238581 --- gcc/ChangeLog | 4 ++++ gcc/tree-object-size.c | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 23a54e2ed75..92befe8bdb8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-07-21 Jakub Jelinek + + * tree-object-size.c (unknown): Use HOST_WIDE_INT_M1U instead of -1. + 2016-07-21 Andrew Sutton Improving concepts performance and diagnostics. diff --git a/gcc/tree-object-size.c b/gcc/tree-object-size.c index 5e8ced63a2e..c08845184bb 100644 --- a/gcc/tree-object-size.c +++ b/gcc/tree-object-size.c @@ -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 *, -- 2.30.2