aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-object-size.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2013-06-07 19:14:06 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2013-06-07 19:14:06 +0000
commit4cdce1a8704b453011f478a3ece4aa494e43c87a (patch)
tree893f2258d71ac7f8f7c70f407164be6ac89dbbf2 /gcc/tree-object-size.c
parentd60f170618a91748350161c4d6e759466dd480f6 (diff)
downloadgcc-4cdce1a8704b453011f478a3ece4aa494e43c87a.zip
gcc-4cdce1a8704b453011f478a3ece4aa494e43c87a.tar.gz
gcc-4cdce1a8704b453011f478a3ece4aa494e43c87a.tar.bz2
tree-object-size.c (unknown): Make const.
* tree-object-size.c (unknown): Make const. From-SVN: r199832
Diffstat (limited to 'gcc/tree-object-size.c')
-rw-r--r--gcc/tree-object-size.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-object-size.c b/gcc/tree-object-size.c
index 2b8311a..1634571 100644
--- a/gcc/tree-object-size.c
+++ b/gcc/tree-object-size.c
@@ -39,7 +39,7 @@ struct object_size_info
unsigned int *stack, *tos;
};
-static unsigned HOST_WIDE_INT unknown[4] = { -1, -1, 0, 0 };
+static const unsigned HOST_WIDE_INT unknown[4] = { -1, -1, 0, 0 };
static tree compute_object_offset (const_tree, const_tree);
static unsigned HOST_WIDE_INT addr_object_size (struct object_size_info *,