diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-01-14 13:20:48 +0000 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-01-14 13:20:48 +0000 |
commit | 5f3c8265f2717f72d68d8eb170fbe2dd114d7b76 (patch) | |
tree | 9c35e496749b61b40c2c18626eb45bde75d74d06 /compiler_and_linker/unsorted/Alias.c | |
parent | 00edfdb0d430d8bf1d2fc98cb226114ef271d993 (diff) | |
download | MWCC-5f3c8265f2717f72d68d8eb170fbe2dd114d7b76.tar.gz MWCC-5f3c8265f2717f72d68d8eb170fbe2dd114d7b76.zip |
fix lots more bugs, add better logging
Diffstat (limited to 'compiler_and_linker/unsorted/Alias.c')
-rw-r--r-- | compiler_and_linker/unsorted/Alias.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |