From: Jakub Jelinek Date: Thu, 21 Jul 2016 07:47:44 +0000 (+0200) Subject: * tree-object-size.c (unknown): Use HOST_WIDE_INT_M1U instead of -1. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a43068ccbbdcb199d77254133cbdf576931e4d47;p=gcc.git * tree-object-size.c (unknown): Use HOST_WIDE_INT_M1U instead of -1. From-SVN: r238581 --- 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 *,