From 5f3c8265f2717f72d68d8eb170fbe2dd114d7b76 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Sat, 14 Jan 2023 13:20:48 +0000 Subject: fix lots more bugs, add better logging --- compiler_and_linker/unsorted/Alias.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler_and_linker/unsorted/Alias.c') diff --git a/compiler_and_linker/unsorted/Alias.c b/compiler_and_linker/unsorted/Alias.c index d8d883d..b86fb41 100644 --- a/compiler_and_linker/unsorted/Alias.c +++ b/compiler_and_linker/unsorted/Alias.c @@ -486,7 +486,7 @@ static Propagation alias_prop = { &finishpropagatealiases, "ALIAS", "ALIASES", - "A%ld", + "A%" PRId32, 1 }; @@ -616,7 +616,7 @@ void gather_alias_info(void) { if (n_gathered_aliases != n_aliases) { for (alias = aliases; alias; alias = alias->next) { if (alias->type == AliasType2) { - alias->vec24 = lalloc(4 * ((n_aliases + 31) >> 35)); + alias->vec24 = lalloc(4 * ((n_aliases + 31) >> 5)); bitvectorinitialize(alias->vec24, n_aliases, 0); for (member = alias->parents; member; member = member->nextParent) { bitvectorsetbit(member->child->index, alias->vec24); -- cgit v1.2.3