store-merging: Fix up -Wnarrowing warning
I've noticed a -Wnarrowing warning on gimple-ssa-store-merging.c, this change fixes that up. 2020-10-05 Jakub Jelinek <jakub@redhat.com> * gimple-ssa-store-merging.c (imm_store_chain_info::output_merged_store): Use ~0U instead of ~0 in unsigned int array initializer.
This commit is contained in:
parent
ab3f4b27ab
commit
21f65995e0
|
@ -3804,7 +3804,7 @@ imm_store_chain_info::output_merged_store (merged_store_group *group)
|
|||
Similarly, if there is a whole region clear first, prefer expanding
|
||||
it together compared to expanding clear first followed by merged
|
||||
further stores. */
|
||||
unsigned cnt[4] = { ~0, ~0, ~0, ~0 };
|
||||
unsigned cnt[4] = { ~0U, ~0U, ~0U, ~0U };
|
||||
int pass_min = 0;
|
||||
for (int pass = 0; pass < 4; ++pass)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue