summaryrefslogtreecommitdiff
path: root/gcc/sparseset.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/sparseset.c')
-rw-r--r--gcc/sparseset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/sparseset.c b/gcc/sparseset.c
index 3c25a6de355..279c22bf72b 100644
--- a/gcc/sparseset.c
+++ b/gcc/sparseset.c
@@ -30,7 +30,7 @@ sparseset_alloc (SPARSESET_ELT_TYPE n_elms)
unsigned int n_bytes = sizeof (struct sparseset_def)
+ ((n_elms - 1) * 2 * sizeof (SPARSESET_ELT_TYPE));
- sparseset set = XNEWVAR(struct sparseset_def, n_bytes);
+ sparseset set = XNEWVAR (struct sparseset_def, n_bytes);
/* Mark the sparseset as defined to silence some valgrind uninitialized
read errors when accessing set->sparse[n] when "n" is not, and never has